@@ -1774,10 +1774,12 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
17741774 public getFoci ( ) : IFocusInfo [ ] {
17751775 if ( ! this . localSfuUserId || ! this . localSfuDeviceId ) return [ ] ;
17761776
1777- return [ {
1778- user_id : this . localSfuUserId ,
1779- device_id : this . localSfuDeviceId ,
1780- } ] ;
1777+ return [
1778+ {
1779+ user_id : this . localSfuUserId ,
1780+ device_id : this . localSfuDeviceId ,
1781+ } ,
1782+ ] ;
17811783 }
17821784
17831785 /**
@@ -9332,13 +9334,13 @@ export function fixNotificationCountOnDecryption(cli: MatrixClient, event: Matri
93329334 const thread = room . getThread ( event . threadRootId ) ;
93339335 hasReadEvent = thread
93349336 ? thread . hasUserReadEvent ( cli . getUserId ( ) ! , event . getId ( ) ! )
9335- // If the thread object does not exist in the room yet, we don't
9336- // want to calculate notification for this event yet. We have not
9337- // restored the read receipts yet and can't accurately calculate
9338- // highlight notifications at this stage.
9339- //
9340- // This issue can likely go away when MSC3874 is implemented
9341- : true ;
9337+ : // If the thread object does not exist in the room yet, we don't
9338+ // want to calculate notification for this event yet. We have not
9339+ // restored the read receipts yet and can't accurately calculate
9340+ // highlight notifications at this stage.
9341+ //
9342+ // This issue can likely go away when MSC3874 is implemented
9343+ true ;
93429344 } else {
93439345 hasReadEvent = room . hasUserReadEvent ( cli . getUserId ( ) ! , event . getId ( ) ! ) ;
93449346 }
0 commit comments