diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-07-09 16:11:06 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-07-09 16:11:50 +0200 |
commit | 7b49fbdf4526c4ce4db28b3e41633dc8c1efb693 (patch) | |
tree | bb8a533eef4fc5e72547d60691f0695f0e0d6d64 /src/event | |
parent | 11d849aa7ffb1d2f2dffac11d51f0f73728745a8 (diff) | |
download | profani-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.c | 2 |
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++; |