Include last activity in initial presence
This commit is contained in:
@@ -65,7 +65,7 @@ cl_ev_connect_account(ProfAccount *account)
|
||||
}
|
||||
|
||||
void
|
||||
cl_ev_presence_send(const resource_presence_t presence_type, const char * const msg, const int idle)
|
||||
cl_ev_presence_send(const resource_presence_t presence_type, const char * const msg, const int idle_secs)
|
||||
{
|
||||
char *signed_status = NULL;
|
||||
|
||||
@@ -78,7 +78,7 @@ cl_ev_presence_send(const resource_presence_t presence_type, const char * const
|
||||
account_free(account);
|
||||
#endif
|
||||
|
||||
presence_send(presence_type, msg, idle, signed_status);
|
||||
presence_send(presence_type, msg, idle_secs, signed_status);
|
||||
|
||||
free(signed_status);
|
||||
}
|
||||
|
||||
@@ -38,10 +38,10 @@
|
||||
jabber_conn_status_t cl_ev_connect_jid(const char * const jid, const char * const passwd, const char * const altdomain, const int port);
|
||||
jabber_conn_status_t cl_ev_connect_account(ProfAccount *account);
|
||||
|
||||
void cl_ev_presence_send(const resource_presence_t presence_type, const char * const msg, const int idle);
|
||||
void cl_ev_presence_send(const resource_presence_t presence_type, const char * const msg, const int idle_secs);
|
||||
|
||||
void cl_ev_send_msg(ProfChatWin *chatwin, const char * const msg);
|
||||
void cl_ev_send_muc_msg(ProfMucWin *mucwin, const char * const msg);
|
||||
void cl_ev_send_priv_msg(ProfPrivateWin *privwin, const char * const msg);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user