mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 12:46:21 +00:00
Added chat_session_on_incoming_message
This commit is contained in:
@@ -459,11 +459,7 @@ _chat_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
|
||||
}
|
||||
|
||||
// create or update chat session
|
||||
if (!chat_session_exists(jid->barejid)) {
|
||||
chat_session_new(jid->barejid, recipient_supports);
|
||||
} else {
|
||||
chat_session_set_recipient_supports(jid->barejid, recipient_supports);
|
||||
}
|
||||
chat_session_on_incoming_message(jid->barejid, recipient_supports);
|
||||
|
||||
// determine if the notifications happened whilst offline
|
||||
GTimeVal tv_stamp;
|
||||
|
||||
Reference in New Issue
Block a user