pause audio when entering a thread
This commit is contained in:
parent
e84a5b3b4b
commit
e735cef75e
|
@ -1182,6 +1182,9 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
|
|||
return;
|
||||
}
|
||||
|
||||
// TODO: Refactor when audio becomes global
|
||||
await audioPlayer.pauseCurrentAudio();
|
||||
|
||||
if (item.tmid) {
|
||||
let name = '';
|
||||
let jumpToMessageId = '';
|
||||
|
|
Loading…
Reference in New Issue