Commit 1cff44ab authored by Philip Withnall's avatar Philip Withnall
Browse files

individual: Add default values for PresenceDetails properties

If an Individual is created with no Personas (as in the
standalone-individuals test cases), the PresenceDetails properties
should be initialised to empty strings. They were previously defaulting
to null.

https://bugzilla.gnome.org/show_bug.cgi?id=648811
parent 40d27444
......@@ -231,12 +231,12 @@ public class Folks.Individual : Object,
*
* @since 0.6.0
*/
public string presence_status { get; set; }
public string presence_status { get; set; default = ""; }
/**
* {@inheritDoc}
*/
public string presence_message { get; set; }
public string presence_message { get; set; default = ""; }
/**
* {@inheritDoc}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment