aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2018-09-04 13:48:33 +0200
committerfiaxh <git@mx.ax.lt>2018-09-04 13:48:33 +0200
commit79e0aee5fdb90830fad748fdfae717cb5fbf91f9 (patch)
treee3e800e7cea60cad48ffee3c7e46440f435d358a
parent69b886ef1e065d1c3373ac775111fcd1ea7cbbf9 (diff)
downloaddino-79e0aee5fdb90830fad748fdfae717cb5fbf91f9.tar.gz
dino-79e0aee5fdb90830fad748fdfae717cb5fbf91f9.zip
Fix property with custom get+set to not have a default value (compiler error with vala 0.41)
Fix encryption icon not being shown right away
-rw-r--r--libdino/src/service/message_processor.vala2
-rw-r--r--xmpp-vala/src/module/xep/0004_data_forms.vala1
2 files changed, 1 insertions, 2 deletions
diff --git a/libdino/src/service/message_processor.vala b/libdino/src/service/message_processor.vala
index d0e3e79a..f7f13a40 100644
--- a/libdino/src/service/message_processor.vala
+++ b/libdino/src/service/message_processor.vala
@@ -180,7 +180,7 @@ public class MessageProcessor : StreamInteractionModule, Object {
private class StoreMessageListener : MessageListener {
- public string[] after_actions_const = new string[]{ "DEDUPLICATE" };
+ public string[] after_actions_const = new string[]{ "DEDUPLICATE", "DECRYPT" };
public override string action_group { get { return "STORE"; } }
public override string[] after_actions { get { return after_actions_const; } }
diff --git a/xmpp-vala/src/module/xep/0004_data_forms.vala b/xmpp-vala/src/module/xep/0004_data_forms.vala
index cc0a1a28..9456197c 100644
--- a/xmpp-vala/src/module/xep/0004_data_forms.vala
+++ b/xmpp-vala/src/module/xep/0004_data_forms.vala
@@ -53,7 +53,6 @@ public class DataForm {
public string? label {
get { return node.get_attribute("label", NS_URI); }
set { node.set_attribute("label", value); }
- default = null;
}
public virtual Type? type_ { get; internal set; default=null; }
public string? var {