diff options
Diffstat (limited to 'src/contact_list.c')
-rw-r--r-- | src/contact_list.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/contact_list.c b/src/contact_list.c index 73333156..13c71f0a 100644 --- a/src/contact_list.c +++ b/src/contact_list.c @@ -70,8 +70,7 @@ contact_list_add(const char * const barejid, const char * const name, PContact contact = g_hash_table_lookup(contacts, barejid); if (contact == NULL) { - contact = p_contact_new(barejid, name, "offline", NULL, subscription, - pending_out, NULL); + contact = p_contact_new(barejid, name, subscription, pending_out); g_hash_table_insert(contacts, strdup(barejid), contact); autocomplete_add(ac, strdup(barejid)); added = TRUE; |