mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 21:26:21 +00:00
Users added to contact list when no precense notification
The user is added from the roster
This commit is contained in:
@@ -176,6 +176,11 @@ prof_handle_roster(GSList *roster)
|
||||
} else {
|
||||
cons_show("%s", entry->jid);
|
||||
}
|
||||
|
||||
// if contact not in contact list add them as offline
|
||||
if (find_contact(entry->jid) == NULL) {
|
||||
contact_list_add(entry->jid, "offline", NULL);
|
||||
}
|
||||
|
||||
roster = g_slist_next(roster);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user