diff options
author | Erik Johnston <erik@matrix.org> | 2016-04-14 11:37:50 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-04-14 11:37:50 +0100 |
commit | 2ae91a9e2f5632bcaa32154d457ddd39a96e981e (patch) | |
tree | 364b763b58fe92f34b6a7e163e380c5386375f0d /synapse | |
parent | Add desc arg (diff) | |
download | synapse-2ae91a9e2f5632bcaa32154d457ddd39a96e981e.tar.xz |
Make send_badge private
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/push/httppusher.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py index e80b7dae51..b939d889fb 100644 --- a/synapse/push/httppusher.py +++ b/synapse/push/httppusher.py @@ -100,7 +100,7 @@ class HttpPusher(object): badge = yield push_tools.get_badge_count( self.hs.get_datastore(), self.user_id ) - yield self.send_badge(badge) + yield self._send_badge(badge) @defer.inlineCallbacks def on_timer(self): @@ -294,7 +294,7 @@ class HttpPusher(object): defer.returnValue(rejected) @defer.inlineCallbacks - def send_badge(self, badge): + def _send_badge(self, badge): logger.info("Sending updated badge count %d to %r", badge, self.user_id) d = { 'notification': { |