Include last activity in initial presence

This commit is contained in:
James Booth
2015-09-27 23:53:06 +01:00
parent 54e225aa53
commit 9593e17c3c
5 changed files with 40 additions and 6 deletions

View File

@@ -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);
}