mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 15:44:10 -04:00
Make get_invites return RoomsForUser
This commit is contained in:
parent
d787e41b20
commit
b6507869cd
2 changed files with 5 additions and 7 deletions
|
@ -317,7 +317,7 @@ class Pusher(object):
|
|||
@defer.inlineCallbacks
|
||||
def _get_badge_count(self):
|
||||
invites, joins = yield defer.gatherResults([
|
||||
self.store.get_invites_for_user(self.user_id),
|
||||
self.store.get_invited_rooms_for_user(self.user_id),
|
||||
self.store.get_rooms_for_user(self.user_id),
|
||||
], consumeErrors=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue