aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-10-20 00:14:52 +0200
committerfiaxh <git@lightrise.org>2019-10-22 01:23:08 +0200
commitc032ab00ecc9d2b0c5d2fdbc5bd622a5406f691c (patch)
tree4ad3d3380d5de2775945f7e73c7e9ba9067c6d38 /xmpp-vala/src
parent394862dbd31a938be8e953e0edaa73d2f4fb9769 (diff)
downloaddino-c032ab00ecc9d2b0c5d2fdbc5bd622a5406f691c.tar.gz
dino-c032ab00ecc9d2b0c5d2fdbc5bd622a5406f691c.zip
Don't send delivery recipts or chat states for own messages
fixes #631
Diffstat (limited to 'xmpp-vala/src')
-rw-r--r--xmpp-vala/src/module/xep/0004_data_forms.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmpp-vala/src/module/xep/0004_data_forms.vala b/xmpp-vala/src/module/xep/0004_data_forms.vala
index 84d39eea..1c04d81e 100644
--- a/xmpp-vala/src/module/xep/0004_data_forms.vala
+++ b/xmpp-vala/src/module/xep/0004_data_forms.vala
@@ -134,12 +134,12 @@ public class DataForm {
public class HiddenField : Field {
public HiddenField() {
base();
- type_ = Type.HIDDEN;;
+ type_ = Type.HIDDEN;
node.put_attribute("type", "hidden");
}
public HiddenField.from_node(StanzaNode node) {
base.from_node(node);
- type_ = Type.HIDDEN;;
+ type_ = Type.HIDDEN;
}
}
@@ -160,7 +160,7 @@ public class DataForm {
}
public ListSingleField(StanzaNode node) {
base.from_node(node);
- type_ = Type.LIST_SINGLE;;
+ type_ = Type.LIST_SINGLE;
}
}