about summary refs log tree commit diff stats
path: root/tests/unittests/test_keyhandlers.h
diff options
context:
space:
mode:
authorMarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com>2022-05-29 16:57:02 +0300
committerMarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com>2022-05-31 15:55:02 +0300
commit91e8a89b591caf93a5c3b3533f2a538806b181a3 (patch)
tree5b371b4c28bd06b8996ed8f62af141d4dfb4e8c9 /tests/unittests/test_keyhandlers.h
parent09f3c08af5dd95b48a322a5c8dd6ce4750ca244c (diff)
downloadprofani-tty-91e8a89b591caf93a5c3b3533f2a538806b181a3.tar.gz
Fix duplicate messages in chat with oneself.
Messages would get duplicated when you chat with yourself, worse if you
had omemo enabled the duplicated message would say something along the
lines of "Your client doesn't support OMEMO". The cause was carbons
when the message was sent from another client, whilst it was a sent
and received message when profanity was the one to send it. This commit
ignores the carbon message in the 1st case and ignores the received one
in the 2nd.

Fixes https://github.com/profanity-im/profanity/issues/1595
Diffstat (limited to 'tests/unittests/test_keyhandlers.h')
0 files changed, 0 insertions, 0 deletions