Pass window to functions so we dont have to call twice

This commit is contained in:
Michael Vetter
2020-07-09 16:11:06 +02:00
parent 11d849aa7f
commit 7b49fbdf45
5 changed files with 17 additions and 18 deletions

View File

@@ -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++;