mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-08 16:52:14 -04:00
Merge remote-tracking branch 'upstream/release-v1.45'
This commit is contained in:
commit
80adb0a6ca
196 changed files with 4122 additions and 2177 deletions
|
@ -396,10 +396,10 @@ class HttpPusher(Pusher):
|
|||
rejected = resp["rejected"]
|
||||
return rejected
|
||||
|
||||
async def _send_badge(self, badge):
|
||||
async def _send_badge(self, badge: int) -> None:
|
||||
"""
|
||||
Args:
|
||||
badge (int): number of unread messages
|
||||
badge: number of unread messages
|
||||
"""
|
||||
logger.debug("Sending updated badge count %d to %s", badge, self.name)
|
||||
d = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue