mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-30 16:26:13 -05:00
add a comment
This commit is contained in:
parent
e35d44c01d
commit
7d2824395f
@ -129,6 +129,8 @@ class HttpPusher(object):
|
|||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _update_badge(self):
|
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)
|
badge = yield push_tools.get_badge_count(self.hs.get_datastore(), self.user_id)
|
||||||
yield self._send_badge(badge)
|
yield self._send_badge(badge)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user