Use libstrophe/libmesode uuid generator

This commit is contained in:
James Booth
2015-10-12 23:37:11 +01:00
parent de15d47be4
commit 6e28df66e8
5 changed files with 25 additions and 17 deletions

View File

@@ -310,6 +310,20 @@ jabber_get_account_name(void)
return saved_account.name;
}
char*
jabber_create_uuid(void)
{
return xmpp_uuid_gen(jabber_conn.ctx);
}
void
jabber_free_uuid(char *uuid)
{
if (uuid) {
xmpp_free(jabber_conn.ctx, uuid);
}
}
void
connection_set_presence_message(const char * const message)
{