mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 20:26:22 +00:00
Moved disconnect code to profanity module
This commit is contained in:
@@ -215,6 +215,15 @@ prof_handle_failed_login(void)
|
||||
log_info("disconnected");
|
||||
}
|
||||
|
||||
void
|
||||
prof_handle_disconnect(const char * const jid)
|
||||
{
|
||||
jabber_disconnect();
|
||||
contact_list_clear();
|
||||
jabber_restart();
|
||||
cons_show("%s logged out successfully.", jid);
|
||||
}
|
||||
|
||||
void
|
||||
prof_handle_room_history(const char * const room_jid, const char * const nick,
|
||||
GTimeVal tv_stamp, const char * const message)
|
||||
|
||||
Reference in New Issue
Block a user