Skip to content

Commit

Permalink
Add unread marker event type (#4069)
Browse files Browse the repository at this point in the history
* Add unread marker event type

To support setting the 'marked unread' flag

* Await encrypted messages (#4063)

* await encrypted messages
+ fix comments

Signed-off-by: Timo K <[email protected]>

* fix Tests

Signed-off-by: Timo K <[email protected]>

* fix test

Signed-off-by: Timo K <[email protected]>

* make sonar happy

Signed-off-by: Timo K <[email protected]>

---------

Signed-off-by: Timo K <[email protected]>

* Ignore memberships of users that are not in the call (#4065)

* ignore memberships of users that are not in the call

Signed-off-by: Timo K <[email protected]>

* recompute memberships on room member change.

Signed-off-by: Timo K <[email protected]>

* fix Tests and add test for left member

Signed-off-by: Timo K <[email protected]>

* fix event type

Signed-off-by: Timo K <[email protected]>

* fix import desaster

Signed-off-by: Timo K <[email protected]>

* fix mocks

Signed-off-by: Timo K <[email protected]>

---------

Signed-off-by: Timo K <[email protected]>

---------

Signed-off-by: Timo K <[email protected]>
Co-authored-by: Timo <[email protected]>
  • Loading branch information
dbkr and toger5 authored Feb 16, 2024
1 parent 74c109a commit 2cf7d81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/models/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ export interface IVisibilityChange {
reason: string | null;
}

export interface IMarkedUnreadEvent {
unread: boolean;
}

export interface IClearEvent {
room_id?: string;
type: string;
Expand Down

0 comments on commit 2cf7d81

Please sign in to comment.