diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py index eaaa7afc91ffdf3cd52b04e0df79d47e238cf045..ed60dbc1bf9928264a6635e7636da4aab4db7c38 100644 --- a/synapse/push/httppusher.py +++ b/synapse/push/httppusher.py @@ -129,6 +129,8 @@ class HttpPusher(object): @defer.inlineCallbacks def _update_badge(self): + # XXX as per https://github.com/matrix-org/matrix-doc/issues/2627, this seems + # to be largely redundant. perhaps we can remove it. badge = yield push_tools.get_badge_count(self.hs.get_datastore(), self.user_id) yield self._send_badge(badge)