From 523a000e017a042226dfef28a6bc69d30ddcadb8 Mon Sep 17 00:00:00 2001 From: zlaxy Date: Sun, 11 Feb 2018 11:29:00 +0300 Subject: [PATCH] fixed 'Message' object has no attribute 'new_chat_members' --- jabbergram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.'