diff --git a/jabbergram.py b/jabbergram.py index 828ca3b..1d53dca 100755 --- a/jabbergram.py +++ b/jabbergram.py @@ -179,7 +179,7 @@ class Jabbergram(sleekxmpp.ClientXMPP): 'but the XMPP server doesn\'t support H'\ 'TTP Upload.' - elif update.message.new_chat_members: + elif update.message.new_chat_member: message = 'This user has joined the group.' elif update.message.left_chat_member: message = 'This user has left the group.'