diff options
author | fiaxh <git@mx.ax.lt> | 2017-03-17 16:21:07 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-03-18 00:12:27 +0100 |
commit | 1eca8c6f67cc63084e5e4cc4b92222b0817f13cc (patch) | |
tree | 50b4dd9a753132148db474b6713fa84932a9edd6 /xmpp-vala/src/module/presence | |
parent | d3005bcaca33a8a56725885b4b6388ddc7e8a34f (diff) | |
download | dino-1eca8c6f67cc63084e5e4cc4b92222b0817f13cc.tar.gz dino-1eca8c6f67cc63084e5e4cc4b92222b0817f13cc.zip |
Fix message stanza default type
Diffstat (limited to 'xmpp-vala/src/module/presence')
-rw-r--r-- | xmpp-vala/src/module/presence/stanza.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmpp-vala/src/module/presence/stanza.vala b/xmpp-vala/src/module/presence/stanza.vala index 9ad8f791..0926555e 100644 --- a/xmpp-vala/src/module/presence/stanza.vala +++ b/xmpp-vala/src/module/presence/stanza.vala @@ -73,9 +73,9 @@ public class Stanza : Xmpp.Stanza { } } - public override string type_ { + public override string? type_ { get { - return base.type_ != null ? base.type_ : TYPE_AVAILABLE; + return base.type_ ?? TYPE_AVAILABLE; } set { base.type_ = value; } } |