Skip to content

Commit

Permalink
- do not count the unsetting of emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
ritzalam committed Feb 28, 2024
1 parent 275dc1f commit 117d058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bbbevents/events.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def participant_status_change_event(e)
if status == RAISEHAND && status_value == 'true'
# Count only raise hand event and not lower hand
attendee.engagement[:raisehand] += 1
elsif status == 'reactionEmoji'
elsif status == 'reactionEmoji' && status_value != 'none'
attendee.engagement[:emojis] += 1

# Support old event format
Expand Down

0 comments on commit 117d058

Please sign in to comment.