diff options
author | Eduard Astrouka <eg.astrouka@gmail.com> | 2015-05-12 10:51:19 +0300 |
---|---|---|
committer | Eduard Astrouka <eg.astrouka@gmail.com> | 2015-05-12 10:51:19 +0300 |
commit | efabd078e4fd17e512477555c8f26b2fcbbb190d (patch) | |
tree | 0619bc3e12d654d81eeed5ecc6b61094fa3c793a | |
parent | bf570a32d7ea45420946687a17fa26fda4db4aef (diff) |
Make groupchats persistent
-rw-r--r-- | extensions/groupchats.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/groupchats.py b/extensions/groupchats.py index f1b736a..1990cc6 100644 --- a/extensions/groupchats.py +++ b/extensions/groupchats.py @@ -246,6 +246,7 @@ class Chat(object): form = utils.buildDataForm(fields=[{"var": "FORM_TYPE", "type": "hidden", "value": xmpp.NS_MUC_ROOMCONFIG}, {"var": "muc#roomconfig_membersonly", "type": "boolean", "value": "1"}, {"var": "muc#roomconfig_publicroom", "type": "boolean", "value": "0"}, + {"var": "muc#roomconfig_persistent", "type": "boolean", "value": "1"}, {"var": "muc#roomconfig_whois", "value": "anyone"}], type="submit") query.addChild(node=form) |