Skip to content
Snippets Groups Projects
Commit e837df6a authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

increment badge count per missed convo, not per msg

parent e501e9ec
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,9 @@ def get_badge_count(store, user_id):
r.room_id, user_id, last_unread_event_id
)
)
badge += notifs["notify_count"]
# return one badge count per conversation, as count per
# message is so noisy as to be almost useless
badge += 1 if notifs["notify_count"] else 0
defer.returnValue(badge)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment