diff options
Diffstat (limited to 'src/profanity.c')
-rw-r--r-- | src/profanity.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/profanity.c b/src/profanity.c index 4d7bc397..f57b0ca9 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -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); |