Philipp Hörist pushed to branch master at gajim / gajim


Commits:
8071c0ab by lovetox at 2022-05-23T00:45:04+02:00
imprv: MUC: Enable history when creating rooms

- - - - -
810b140b by lovetox at 2022-05-23T00:46:06+02:00
fix: MUC: Ignore gateway services for room creation

This is a temporary workaround until we have a proper UI to support
multiple MUC services

- - - - -


2 changed files:

- gajim/common/helpers.py
- gajim/common/modules/muc.py


Changes:

=====================================
gajim/common/helpers.py
=====================================
@@ -1137,6 +1137,7 @@ def get_default_muc_config() -> dict[str, Union[bool, 
str]]:
         'muc#roomconfig_persistentroom': True,
         'muc#roomconfig_whois': 'anyone',
         'muc#roomconfig_moderatedroom': False,
+        'muc#roomconfig_enablelogging': True,
 
         # Ejabberd options
         'allow_voice_requests': False,


=====================================
gajim/common/modules/muc.py
=====================================
@@ -145,6 +145,9 @@ def service_jid(self):
         return self._muc_service_jid
 
     def pass_disco(self, info):
+        if info.is_gateway:
+            return
+
         for identity in info.identities:
             if identity.category != 'conference':
                 continue



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/9706d962bf6d552ccdd310c41f2f3161870c532c...810b140b5420b0cb57baf28b27df551c2efdbb74

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/9706d962bf6d552ccdd310c41f2f3161870c532c...810b140b5420b0cb57baf28b27df551c2efdbb74
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to