aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/stanza.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-03-17 16:21:07 +0100
committerfiaxh <git@mx.ax.lt>2017-03-18 00:12:27 +0100
commit1eca8c6f67cc63084e5e4cc4b92222b0817f13cc (patch)
tree50b4dd9a753132148db474b6713fa84932a9edd6 /xmpp-vala/src/module/stanza.vala
parentd3005bcaca33a8a56725885b4b6388ddc7e8a34f (diff)
downloaddino-1eca8c6f67cc63084e5e4cc4b92222b0817f13cc.tar.gz
dino-1eca8c6f67cc63084e5e4cc4b92222b0817f13cc.zip
Fix message stanza default type
Diffstat (limited to 'xmpp-vala/src/module/stanza.vala')
-rw-r--r--xmpp-vala/src/module/stanza.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/stanza.vala b/xmpp-vala/src/module/stanza.vala
index f6af9623..85cbadb7 100644
--- a/xmpp-vala/src/module/stanza.vala
+++ b/xmpp-vala/src/module/stanza.vala
@@ -43,7 +43,7 @@ namespace Xmpp {
set { stanza.set_attribute(ATTRIBUTE_TO, value); }
}
- public virtual string type_ {
+ public virtual string? type_ {
get { return stanza.get_attribute(ATTRIBUTE_TYPE); }
set { stanza.set_attribute(ATTRIBUTE_TYPE, value); }
}