From c032ab00ecc9d2b0c5d2fdbc5bd622a5406f691c Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sun, 20 Oct 2019 00:14:52 +0200 Subject: Don't send delivery recipts or chat states for own messages fixes #631 --- xmpp-vala/src/module/xep/0004_data_forms.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xmpp-vala/src/module/xep') 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; } } -- cgit v1.2.3-70-g09d2