about summary refs log tree commit diff stats
path: root/src/profanity.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-10-06 22:32:58 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-10-06 22:32:58 +0200
commit147be3afdfd2f87e989450bf0cddddfa9e817e24 (patch)
tree29e79a23fc9b10836e43e4f997cfba79f14106fb /src/profanity.c
parent7d7997e93c281cbaa532492005fd269a9ab0d808 (diff)
downloadprofani-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 'src/profanity.c')
0 files changed, 0 insertions, 0 deletions