diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-10-06 22:32:58 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-10-06 22:32:58 +0200 |
commit | 147be3afdfd2f87e989450bf0cddddfa9e817e24 (patch) | |
tree | 29e79a23fc9b10836e43e4f997cfba79f14106fb /tests/unittests | |
parent | 7d7997e93c281cbaa532492005fd269a9ab0d808 (diff) | |
download | profani-tty-147be3afdfd2f87e989450bf0cddddfa9e817e24.tar.gz |
Don't log own messages on incoming MUC
`sv_ev_room_message()` called `groupchat_log_msg_in()` to log all incoming MUC messages. `cl_ev_send_muc_msg()` calls `groupchat_log_msg_out()`. So messages sent by the user himself was logged two times. Filter the incoming messages and only log the ones not from our occupant jid/nick. Fix https://github.com/profanity-im/profanity/issues/1201
Diffstat (limited to 'tests/unittests')
0 files changed, 0 insertions, 0 deletions