Fix threads timeline message ordering (#7968)
This commit is contained in:
parent
75abf03fed
commit
acd12c38a9
3 changed files with 36 additions and 12 deletions
|
@ -47,7 +47,7 @@ export class ThreadNotificationState extends NotificationState implements IDestr
|
|||
const isOwn = myUserId === event.getSender();
|
||||
const readReceipt = this.thread.room.getReadReceiptForUserId(myUserId);
|
||||
|
||||
if (!isOwn && !readReceipt || event.getTs() >= readReceipt.data.ts) {
|
||||
if (!isOwn && !readReceipt || (readReceipt && event.getTs() >= readReceipt.data.ts)) {
|
||||
const actions = client.getPushActionsForEvent(event, true);
|
||||
|
||||
if (actions?.tweaks) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue