about summary refs log tree commit diff stats
path: root/src/event
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-03-29 19:56:25 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-04-06 10:50:20 +0200
commit9224331df31fcc60e1906e06a4640b955d762a7a (patch)
tree9e3966ef5554682507f9360b91acff2bfd2cda9b /src/event
parent4cc8df5929d2290cbb862d5faff6310aea5b7f86 (diff)
downloadprofani-tty-9224331df31fcc60e1906e06a4640b955d762a7a.tar.gz
Fix copy paste error
Diffstat (limited to 'src/event')
-rw-r--r--src/event/client_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/client_events.c b/src/event/client_events.c
index a30665dc..e57f3875 100644
--- a/src/event/client_events.c
+++ b/src/event/client_events.c
@@ -383,7 +383,7 @@ cl_ev_send_muc_msg_corrected(ProfMucWin *mucwin, const char *const msg, const ch
 #ifndef HAVE_OMEMO
     char *id = message_send_groupchat(mucwin->roomjid, plugin_msg, oob_url, replace_id);
     groupchat_log_msg_out(mucwin->roomjid, plugin_msg);
-    log_database_add_outgoing_muc(id, chatwin->barejid, plugin_msg, replace_id, PROF_MSG_ENC_NONE);
+    log_database_add_outgoing_muc(id, mucwin->roomjid, plugin_msg, replace_id, PROF_MSG_ENC_NONE);
     mucwin_outgoing_msg(mucwin, plugin_msg, id, PROF_MSG_ENC_NONE, replace_id);
     free(id);