From c356dbdc06702fcb0e7d0ac808c286fe912cdbe5 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Thu, 12 Jun 2014 23:49:56 +0100 Subject: [PATCH] Set an away (always False) property on the MUC class This allows aliases to be set for MUC-related JIDs. Without it, attempting to do so causes a crash. --- jabber.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jabber.py b/jabber.py index 81a9387..1691279 100644 --- a/jabber.py +++ b/jabber.py @@ -1160,6 +1160,7 @@ class MUC: self.domain = '' self.resource = '' self.alias = '' + self.away = False self.buddies = [] self.parse_jid() self.set_alias()