mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 22:16:22 +00:00
Added resource_presence_t and contact_presence_t
This commit is contained in:
@@ -106,7 +106,7 @@ presence_free_sub_requests(void)
|
||||
}
|
||||
|
||||
void
|
||||
presence_update(presence_t presence_type, const char * const msg,
|
||||
presence_update(resource_presence_t presence_type, const char * const msg,
|
||||
int idle)
|
||||
{
|
||||
xmpp_ctx_t *ctx = connection_get_ctx();
|
||||
@@ -160,7 +160,7 @@ presence_join_room(Jid *jid)
|
||||
{
|
||||
xmpp_ctx_t *ctx = connection_get_ctx();
|
||||
xmpp_conn_t *conn = connection_get_conn();
|
||||
presence_t presence_type = accounts_get_last_presence(jabber_get_account_name());
|
||||
contact_presence_t presence_type = accounts_get_last_presence(jabber_get_account_name());
|
||||
const char *show = stanza_get_presence_string_from_type(presence_type);
|
||||
char *status = jabber_get_presence_message();
|
||||
int pri = accounts_get_priority_for_presence_type(jabber_get_account_name(),
|
||||
@@ -183,7 +183,7 @@ presence_change_room_nick(const char * const room, const char * const nick)
|
||||
{
|
||||
xmpp_ctx_t *ctx = connection_get_ctx();
|
||||
xmpp_conn_t *conn = connection_get_conn();
|
||||
presence_t presence_type = accounts_get_last_presence(jabber_get_account_name());
|
||||
contact_presence_t presence_type = accounts_get_last_presence(jabber_get_account_name());
|
||||
const char *show = stanza_get_presence_string_from_type(presence_type);
|
||||
char *status = jabber_get_presence_message();
|
||||
int pri = accounts_get_priority_for_presence_type(jabber_get_account_name(),
|
||||
|
||||
Reference in New Issue
Block a user