mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 17:36:21 +00:00
Handle incoming groupchat
This commit is contained in:
@@ -528,6 +528,21 @@ win_show_room_history(const char * const room_jid, const char * const nick,
|
||||
dirty = TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
win_show_room_message(const char * const room_jid, const char * const nick,
|
||||
const char * const message)
|
||||
{
|
||||
int win_index = _find_prof_win_index(room_jid);
|
||||
WINDOW *win = _wins[win_index].win;
|
||||
|
||||
_win_show_time(win);
|
||||
_win_show_user(win, nick, 1);
|
||||
_win_show_message(win, message);
|
||||
|
||||
if (win_index == _curr_prof_win)
|
||||
dirty = TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
win_show(const char * const msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user