mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 08:56:22 +00:00
Refactored chat session handling on sending message
This commit is contained in:
@@ -58,13 +58,10 @@ GList * jabber_get_available_resources(void)
|
||||
}
|
||||
|
||||
// message functions
|
||||
void message_send_chat(const char * const barejid, const char * const resource, const char * const msg,
|
||||
gboolean send_state)
|
||||
void message_send_chat(const char * const barejid, const char * const msg)
|
||||
{
|
||||
check_expected(barejid);
|
||||
check_expected(resource);
|
||||
check_expected(msg);
|
||||
check_expected(send_state);
|
||||
}
|
||||
|
||||
void message_send_private(const char * const fulljid, const char * const msg) {}
|
||||
@@ -218,4 +215,4 @@ void roster_send_add_new(const char * const barejid, const char * const name)
|
||||
void roster_send_remove(const char * const barejid)
|
||||
{
|
||||
check_expected(barejid);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user