Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed Jun 18, 2020
1 parent e35d44c commit 7d28243
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions synapse/push/httppusher.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ def on_new_receipts(self, min_stream_id, max_stream_id):

@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)

Expand Down

0 comments on commit 7d28243

Please sign in to comment.