Open elonfans opened 6 years ago
This is because as of now, Telegram shows the number of chats with messages to count notifications. Therefor, 444 messages in 3 chats will only show as a badge with 3 notifications. Perhaps add support to chose whether to count Number of chats or number of messages for the badge as seen on Telegram for Android?
The feature has been implemented on Telegram for iOS. Navigate to the Settings menu, under Notifications, you can check whether show count of chats or count of messages
Request to close this issue
We found that the application icon unread count is inconsistent with the chat unread count on the tabar.
The reason is the badge in remote notification is wrong:
notification example: { aps = { alert = "\U5c0f\U98de \U5218 sent a photo to the group Badcase"; badge = 444; category = m; "content-available" = 1; }; "channel_id" = 1194191687; "chat_from_id" = 531399565; "msg_id" = 1756; }
when app goes to the front, real chat unread count is 5 instead of 444.