about summary refs log tree commit diff stats
path: root/src/event
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-07-09 16:11:06 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-07-09 16:11:50 +0200
commit7b49fbdf4526c4ce4db28b3e41633dc8c1efb693 (patch)
treebb8a533eef4fc5e72547d60691f0695f0e0d6d64 /src/event
parent11d849aa7ffb1d2f2dffac11d51f0f73728745a8 (diff)
downloadprofani-tty-7b49fbdf4526c4ce4db28b3e41633dc8c1efb693.tar.gz
Pass window to functions so we dont have to call twice
Diffstat (limited to 'src/event')
-rw-r--r--src/event/server_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index 27357683..27f142eb 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -357,7 +357,7 @@ sv_ev_room_message(ProfMessage* message)
             flash();
         }
 
-        cons_show_incoming_room_message(message->from_jid->resourcepart, mucwin->roomjid, num, mention, triggers, mucwin->unread);
+        cons_show_incoming_room_message(message->from_jid->resourcepart, mucwin->roomjid, num, mention, triggers, mucwin->unread, window);
 
         mucwin->unread++;