Offline contacts presence notifications now in contact list

Can send messages to offline contacts
This commit is contained in:
James Booth
2012-10-04 21:25:19 +01:00
parent cf211be221
commit 579594a8bf
2 changed files with 37 additions and 34 deletions

View File

@@ -157,7 +157,7 @@ prof_handle_contact_online(char *contact, char *show, char *status)
void
prof_handle_contact_offline(char *contact, char *show, char *status)
{
gboolean result = contact_list_remove(contact);
gboolean result = contact_list_add(contact, "offline", status);
if (result) {
win_contact_offline(contact, show, status);
}