Abstract Pdu filter matching into trait Event.
Abstract Pdu unsigned accessors into trait Event. Abstract Pdu relation related into trait Event. Abstract PDU content into trait Event. Move event_id utils from pdu to event. Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -842,7 +842,7 @@ impl Service {
|
||||
let unread: UInt = self
|
||||
.services
|
||||
.user
|
||||
.notification_count(&user_id, &pdu.room_id)
|
||||
.notification_count(&user_id, pdu.room_id())
|
||||
.await
|
||||
.try_into()
|
||||
.expect("notification count can't go that high");
|
||||
|
||||
Reference in New Issue
Block a user