Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Patch to simulate anoa/membership_join_count
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Jul 29, 2020
1 parent 822ff57 commit 51ed870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/handlers/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ async def _handle_deltas(self, deltas):

if membership == prev_membership:
pass # noop
if membership == Membership.JOIN:
elif membership == Membership.JOIN:
room_stats_delta["joined_members"] += 1
elif membership == Membership.INVITE:
room_stats_delta["invited_members"] += 1
Expand Down

0 comments on commit 51ed870

Please sign in to comment.