1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00
profanity/src
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
..
command Cleanup _get_message_from_editor a bit 2021-11-01 12:24:28 +01:00
config auto-format 2021-10-27 22:45:44 +02:00
event Format new register code correctly 2021-10-13 21:32:44 +02:00
omemo Format code correctly 2021-10-05 10:01:27 +02:00
otr Add config.h in files were it was missing 2021-03-26 19:54:22 +01:00
pgp Format code correctly 2021-10-05 10:01:27 +02:00
plugins Add plugin get_barejid_from_roster function 2021-04-29 13:50:57 -04:00
tools Format code correctly 2021-10-05 10:01:27 +02:00
ui auto-format 2021-10-27 22:45:44 +02:00
xmpp Fix carbons criteria 2021-11-25 15:33:49 +01:00
common.c Fix random string generation 2021-04-17 22:37:21 +02:00
common.h Refactor call_external 2020-12-11 15:51:01 +01:00
database.c Format code correctly 2021-10-05 10:01:27 +02:00
database.h Apply coding style 2020-07-07 14:18:57 +02:00
log.c Format code correctly 2021-10-05 10:01:27 +02:00
log.h Remove log_reinit() 2020-12-11 11:18:24 +01:00
main.c first step to remove libmesode 2021-10-27 22:45:44 +02:00
profanity.c Format new register code correctly 2021-10-13 21:32:44 +02:00
profanity.h Update copyright 2021-01-08 16:36:30 +01:00