Show status with online contact list

This commit is contained in:
James Booth
2012-03-09 23:07:53 +00:00
parent 59c02863fe
commit e6b076ce5f
5 changed files with 153 additions and 89 deletions

View File

@@ -313,7 +313,7 @@ static int _jabber_presence_handler(xmpp_conn_t * const conn,
if (type == NULL) {// online
win_contact_online(short_from, show_str, status_str);
contact_list_add(short_from);
contact_list_add(short_from, show_str);
} else {// offline
win_contact_offline(short_from, show_str, status_str);
contact_list_remove(short_from);