mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 19:46:22 +00:00
Moved new chat win events to client events module
This commit is contained in:
@@ -96,4 +96,17 @@ client_send_priv_msg(const char * const fulljid, const char * const msg)
|
||||
{
|
||||
message_send_private(fulljid, msg);
|
||||
ui_outgoing_private_msg(fulljid, msg);
|
||||
}
|
||||
|
||||
void
|
||||
client_focus_win(ProfWin *win)
|
||||
{
|
||||
ui_switch_win(win);
|
||||
}
|
||||
|
||||
void
|
||||
client_new_chat_win(const char * const barejid)
|
||||
{
|
||||
ProfWin *win = ui_new_chat_win(barejid);
|
||||
ui_switch_win(win);
|
||||
}
|
||||
@@ -39,4 +39,7 @@ void client_send_msg(const char * const barejid, const char * const msg);
|
||||
void client_send_muc_msg(const char * const roomjid, const char * const msg);
|
||||
void client_send_priv_msg(const char * const fulljid, const char * const msg);
|
||||
|
||||
void client_focus_win(ProfWin *win);
|
||||
void client_new_chat_win(const char * const barejid);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user