summary refs log tree commit diff
path: root/synapse/push/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-03-23 13:19:26 +0000
committerErik Johnston <erik@matrix.org>2016-03-23 13:19:26 +0000
commit2749da542cf0d2e7bd78800f98356635a05b9620 (patch)
treea585faac772a90be0397fccc0b1fb23d765a8aeb /synapse/push/__init__.py
parentMerge pull request #665 from matrix-org/erikj/dont_cache_events (diff)
parentMake get_invites return RoomsForUser (diff)
downloadsynapse-2749da542cf0d2e7bd78800f98356635a05b9620.tar.xz
Merge pull request #663 from matrix-org/erikj/invite_for_user
Make get_invites return RoomsForUser
Diffstat (limited to 'synapse/push/__init__.py')
-rw-r--r--synapse/push/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py
index 65ef1b68a3..296c4447ec 100644
--- a/synapse/push/__init__.py
+++ b/synapse/push/__init__.py
@@ -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)