mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 06:56:21 +00:00
Added chat_session_on_window_open
This commit is contained in:
@@ -277,6 +277,16 @@ chat_session_on_message_send(const char * const barejid)
|
||||
return send_state;
|
||||
}
|
||||
|
||||
void
|
||||
chat_session_on_window_open(const char * const barejid)
|
||||
{
|
||||
if (prefs_get_boolean(PREF_STATES)) {
|
||||
if (!chat_session_exists(barejid)) {
|
||||
chat_session_new(barejid, TRUE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
_chat_session_free(ChatSession *session)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user