Show status with online contact list
This commit is contained in:
2
jabber.c
2
jabber.c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user