Skip to content
Snippets Groups Projects
Commit 0b354fcb authored by David Baker's avatar David Baker
Browse files

Again, don't assume all member events have displayname.

parent fe10b882
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ class Pusher(object):
# This loop does two things:
# 1) Find our current display name
if mev.state_key == self.user_name:
if mev.state_key == self.user_name and 'displayname' in mev.content:
my_display_name = mev.content['displayname']
# and 2) Get the number of people in that room
......
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