mucwin_history takes ProfMucWin

This commit is contained in:
James Booth
2015-11-02 00:19:46 +00:00
parent 6ed72d8a35
commit e68784be43
4 changed files with 23 additions and 25 deletions

View File

@@ -155,7 +155,10 @@ void
sv_ev_room_history(const char *const room_jid, const char *const nick,
GDateTime *timestamp, const char *const message)
{
mucwin_history(room_jid, nick, timestamp, message);
ProfMucWin *mucwin = wins_get_muc(room_jid);
if (mucwin) {
mucwin_history(mucwin, nick, timestamp, message);
}
}
void