Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix bug with read receipts
Browse files Browse the repository at this point in the history
  • Loading branch information
justjanne committed Oct 25, 2022
1 parent 6e73a85 commit 6c9ec43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/structures/MessagePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ export default class MessagePanel extends React.Component<IProps, IState> {
}

const receiptDestination: ReadReceipt<string, ListenerMap<string>> = this.context.threadId
? room.getThread(this.context.threadId)
? room.getThread(this.context.threadId) ?? room
: room;

const receipts: IReadReceiptProps[] = [];
Expand Down

0 comments on commit 6c9ec43

Please sign in to comment.