Skip to content

Commit

Permalink
unread count was not correct
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo committed Dec 3, 2016
1 parent f4da7a2 commit 7b97e16
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ui/dispatcher.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,7 @@ handle 'client_conversation', (c) ->
# Conversation must be added, even if already exists
# why? because when a new chat message for a new conversation appears
# a skeleton is made of a conversation
# If there is a problem with this change, then we should only merge
# when essential information is missing (ex. participant_data)
conv.add c
conv.add c unless conv[c?.conversation_id?.id].participant_data?

handle 'hangout_event', (e) ->
return unless e?.hangout_event?.event_type in ['START_HANGOUT', 'END_HANGOUT']
Expand Down

0 comments on commit 7b97e16

Please sign in to comment.