summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-04-29 20:02:52 +0100
committerDavid Baker <dave@matrix.org>2016-04-29 20:02:52 +0100
commit6b9b6a91691d543fe420e82366f641beb760cf11 (patch)
treea17e494e4f60dd2e77a1a768d7935422f963f9a2 /synapse
parentDocstring (diff)
downloadsynapse-6b9b6a91691d543fe420e82366f641beb760cf11.tar.xz
Remove unused arg
Diffstat (limited to '')
-rw-r--r--synapse/push/emailpusher.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/push/emailpusher.py b/synapse/push/emailpusher.py
index 62e1e40326..8b105b85c8 100644
--- a/synapse/push/emailpusher.py
+++ b/synapse/push/emailpusher.py
@@ -139,7 +139,7 @@ class EmailPusher(object):
             notif_ready_at = received_at + DELAY_BEFORE_MAIL_MS
 
             room_ready_at = self.room_ready_to_notify_at(
-                push_action['room_id'], last_notifs.get(push_action['room_id'], 0)
+                push_action['room_id']
             )
 
             should_notify_at = max(notif_ready_at, room_ready_at)
@@ -194,7 +194,7 @@ class EmailPusher(object):
         else:
             return 0
 
-    def room_ready_to_notify_at(self, room_id, last_notif_time):
+    def room_ready_to_notify_at(self, room_id):
         """
         Determines whether throttling should prevent us from sending an email
         for the given room