Check each thread for unread messages. (#9723)
Co-authored-by: Germain <germain@souquet.com> Co-authored-by: Janne Mareike Koschinski <jannemk@element.io>
This commit is contained in:
parent
dec72c7683
commit
9de5654353
3 changed files with 316 additions and 104 deletions
|
@ -126,7 +126,7 @@ export const mkThread = ({
|
|||
const thread = room.createThread(rootEvent.getId(), rootEvent, events, true);
|
||||
// So that we do not have to mock the thread loading
|
||||
thread.initialEventsFetched = true;
|
||||
thread.addEvents(events, true);
|
||||
thread.addEvents(events, false);
|
||||
|
||||
return { thread, rootEvent, events };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue