summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-06-18 10:47:06 +0100
committerRichard van der Hoff <richard@matrix.org>2020-06-18 10:47:06 +0100
commit7d2824395faf66347d4534635b408e6ea21d110d (patch)
tree78b8b4137fb5fe025df4b6b35d68041d179e52f3 /synapse/push
parentMerge pull request #7716 from matrix-org/babolivier/unread_fix (diff)
downloadsynapse-7d2824395faf66347d4534635b408e6ea21d110d.tar.xz
add a comment
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/httppusher.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py
index eaaa7afc91..ed60dbc1bf 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)