Skip to content

Commit 41d7621

Browse files
authored
Apply prettier to the client.ts file (#2959)
1 parent 5b6bebc commit 41d7621

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/client.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9302,13 +9302,13 @@ export function fixNotificationCountOnDecryption(cli: MatrixClient, event: Matri
93029302
const thread = room.getThread(event.threadRootId);
93039303
hasReadEvent = thread
93049304
? thread.hasUserReadEvent(cli.getUserId()!, event.getId()!)
9305-
// If the thread object does not exist in the room yet, we don't
9306-
// want to calculate notification for this event yet. We have not
9307-
// restored the read receipts yet and can't accurately calculate
9308-
// highlight notifications at this stage.
9309-
//
9310-
// This issue can likely go away when MSC3874 is implemented
9311-
: true;
9305+
: // If the thread object does not exist in the room yet, we don't
9306+
// want to calculate notification for this event yet. We have not
9307+
// restored the read receipts yet and can't accurately calculate
9308+
// highlight notifications at this stage.
9309+
//
9310+
// This issue can likely go away when MSC3874 is implemented
9311+
true;
93129312
} else {
93139313
hasReadEvent = room.hasUserReadEvent(cli.getUserId()!, event.getId()!);
93149314
}

0 commit comments

Comments
 (0)