Philipp Hörist pushed to branch master at gajim / gajim
Commits:
aebe40e1 by Philipp Hörist at 2026-08-10T22:08:19+02:00
fix: MUC: Don't use ofrom attribute
We don't support the old MUC history anymore, this attribute is only relevant
there.
- - - - -
2 changed files:
- gajim/common/modules/omemo.py
- gajim/common/modules/openpgp.py
Changes:
=====================================
gajim/common/modules/omemo.py
=====================================
@@ -505,10 +505,6 @@ def _message_received(
def _process_muc_message(self, properties: MessageProperties) -> str |
None:
assert properties.jid is not None
resource = properties.jid.resource
- if properties.muc_ofrom is not None:
- # History Message from MUC
- return properties.muc_ofrom.bare
-
contact =
self._client.get_module("Contacts").get_contact(properties.jid)
assert isinstance(contact, GroupchatParticipant)
if contact.real_jid is not None:
=====================================
gajim/common/modules/openpgp.py
=====================================
@@ -581,13 +581,8 @@ def _process_keylist(
self.set_keylist(keylist)
def _process_muc_message(self, properties: MessageProperties) -> str |
None:
-
assert properties.jid is not None
resource = properties.jid.resource
- if properties.muc_ofrom is not None:
- # History Message from MUC
- return properties.muc_ofrom.bare
-
contact =
self._client.get_module("Contacts").get_contact(properties.jid)
assert isinstance(contact, GroupchatParticipant)
if contact.real_jid is not None:
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/aebe40e1eac59984a283f4f3b71f62805e93e02e
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/aebe40e1eac59984a283f4f3b71f62805e93e02e
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]