1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00
Michael Vetter 2f7317cc18 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
2021-11-25 15:33:49 +01:00
..
2021-10-27 22:45:44 +02:00
2021-10-13 21:32:44 +02:00
2021-10-05 10:01:27 +02:00
2021-10-05 10:01:27 +02:00
2021-10-05 10:01:27 +02:00
2021-10-27 22:45:44 +02:00
2021-11-25 15:33:49 +01:00
2021-04-17 22:37:21 +02:00
2020-12-11 15:51:01 +01:00
2021-10-05 10:01:27 +02:00
2020-07-07 14:18:57 +02:00
2021-10-05 10:01:27 +02:00
2020-12-11 11:18:24 +01:00
2021-10-27 22:45:44 +02:00
2021-10-13 21:32:44 +02:00
2021-01-08 16:36:30 +01:00