Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
26b5b293 by wurstsalat at 2025-02-15T22:30:16+01:00
cfix: Receipts: Check for properties.carbon inside evaluation
- - - - -
1 changed file:
- gajim/common/modules/receipts.py
Changes:
=====================================
gajim/common/modules/receipts.py
=====================================
@@ -50,10 +50,9 @@ def _process_message_receipt(self,
# Don't propagate this event further
raise nbxmpp.NodeProcessed
- assert properties.carbon is not None
if (properties.type.is_groupchat or
properties.is_self_message or
- (properties.is_carbon_message and properties.carbon.is_sent)):
+ (properties.carbon is not None and properties.carbon.is_sent)):
if properties.receipt.is_received:
# Don't propagate this event further
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/26b5b293c08cf43fdeea97121cbc5dfbae752b1f
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/26b5b293c08cf43fdeea97121cbc5dfbae752b1f
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]