Default contact subscription set to "none"

This commit is contained in:
James Booth
2012-11-27 21:59:48 +00:00
parent ebf8911ffc
commit 4b460100ad

View File

@@ -62,7 +62,7 @@ p_contact_new(const char * const jid, const char * const name,
if (subscription != NULL)
contact->subscription = strdup(subscription);
else
contact->subscription = NULL;
contact->subscription = strdup("none");;
return contact;
}