aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/plugin
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2020-01-22 00:09:06 +0100
committerMarvin W <git@larma.de>2020-01-22 00:09:06 +0100
commit8c5957537c63e2a8b9a937fe99db509b153df6c6 (patch)
treee86e5add6275eecbdf2e4be0f5eecfa07ef7c5c0 /libdino/src/plugin
parent48cd863025211a9075eef60b0d259ae7a634b551 (diff)
downloaddino-8c5957537c63e2a8b9a937fe99db509b153df6c6.tar.gz
dino-8c5957537c63e2a8b9a937fe99db509b153df6c6.zip
Fix some compiler warnings
Diffstat (limited to 'libdino/src/plugin')
-rw-r--r--libdino/src/plugin/interfaces.vala10
1 files changed, 5 insertions, 5 deletions
diff --git a/libdino/src/plugin/interfaces.vala b/libdino/src/plugin/interfaces.vala
index 2c9fb69d..b8c98dde 100644
--- a/libdino/src/plugin/interfaces.vala
+++ b/libdino/src/plugin/interfaces.vala
@@ -91,14 +91,14 @@ public abstract interface NotificationPopulator : Object {
public abstract class MetaConversationItem : Object {
public virtual string populator_id { get; set; }
- public virtual Jid? jid { get; set; default=null; }
+ public virtual Jid jid { get; set; }
public virtual bool dim { get; set; default=false; }
- public virtual DateTime? sort_time { get; set; default=null; }
+ public virtual DateTime sort_time { get; set; default = new DateTime.now_utc(); }
public virtual long seccondary_sort_indicator { get; set; }
public virtual long tertiary_sort_indicator { get; set; }
- public virtual DateTime? display_time { get; set; default=null; }
- public virtual Encryption? encryption { get; set; default=null; }
- public virtual Entities.Message.Marked? mark { get; set; default=null; }
+ public virtual DateTime display_time { get; set; default = new DateTime.now_utc(); }
+ public virtual Encryption encryption { get; set; default = Encryption.NONE; }
+ public virtual Entities.Message.Marked mark { get; set; default = Entities.Message.Marked.NONE; }
public abstract bool can_merge { get; set; }
public abstract bool requires_avatar { get; set; }