diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-11-25 14:45:45 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-11-25 15:33:49 +0100 |
commit | 2f7317cc1837ff8e9dfab8b6b0d8529f44391966 (patch) | |
tree | 45b6882052fd86108ca7276e6b7b87a73de859b3 /tests/unittests/test_cmd_presence.h | |
parent | 6d2f929950c12c7e19b4315973164b44f9c52b8b (diff) | |
download | profani-tty-2f7317cc1837ff8e9dfab8b6b0d8529f44391966.tar.gz |
Fix carbons criteria
We came into the carbons checking code when we received `<private xmlns="urn:xmpp:carbons:2"/>`. Which actually marks a message to _not_ be a carbon. In this code we also make sure that carbons only come from us. If not we don't call the message handler code. So we should actually only check for `<sent xmlns='urn:xmpp:carbons:2'>` and `<received xmlns='urn:xmpp:carbons:2'>`. Thanks pukkamustard and Holger. Fixes https://github.com/profanity-im/profanity/issues/1614
Diffstat (limited to 'tests/unittests/test_cmd_presence.h')
0 files changed, 0 insertions, 0 deletions