aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2021-10-12 16:14:01 +0200
committerfiaxh <git@lightrise.org>2021-10-12 17:59:47 +0200
commit76e425ed2705349b201444e78719896419862b00 (patch)
tree7a431dca0637ba71c9fca8ad4b0c229ec9ae33d7 /xmpp-vala
parent8d8dcf5af67ad89c328e67dc2c3469ef90283d9a (diff)
downloaddino-76e425ed2705349b201444e78719896419862b00.tar.gz
dino-76e425ed2705349b201444e78719896419862b00.zip
Fix compiler warnings ('assignment .. from incompatible pointer type') by returning non-const after_actions in OrderListener
Diffstat (limited to 'xmpp-vala')
-rw-r--r--xmpp-vala/src/module/xep/0045_muc/module.vala2
-rw-r--r--xmpp-vala/src/module/xep/0085_chat_state_notifications.vala2
-rw-r--r--xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala2
-rw-r--r--xmpp-vala/src/module/xep/0203_delayed_delivery.vala2
-rw-r--r--xmpp-vala/src/module/xep/0280_message_carbons.vala2
-rw-r--r--xmpp-vala/src/module/xep/0313_message_archive_management.vala2
-rw-r--r--xmpp-vala/src/module/xep/0333_chat_markers.vala2
-rw-r--r--xmpp-vala/src/module/xep/0363_http_file_upload.vala2
8 files changed, 8 insertions, 8 deletions
diff --git a/xmpp-vala/src/module/xep/0045_muc/module.vala b/xmpp-vala/src/module/xep/0045_muc/module.vala
index dcfe8ace..21c7b2a0 100644
--- a/xmpp-vala/src/module/xep/0045_muc/module.vala
+++ b/xmpp-vala/src/module/xep/0045_muc/module.vala
@@ -516,7 +516,7 @@ public class Module : XmppStreamModule {
public class ReceivedPipelineListener : StanzaListener<MessageStanza> {
- private const string[] after_actions_const = {"EXTRACT_MESSAGE_2"};
+ private string[] after_actions_const = {"EXTRACT_MESSAGE_2"};
public override string action_group { get { return ""; } }
public override string[] after_actions { get { return after_actions_const; } }
diff --git a/xmpp-vala/src/module/xep/0085_chat_state_notifications.vala b/xmpp-vala/src/module/xep/0085_chat_state_notifications.vala
index d8994551..fa0360c0 100644
--- a/xmpp-vala/src/module/xep/0085_chat_state_notifications.vala
+++ b/xmpp-vala/src/module/xep/0085_chat_state_notifications.vala
@@ -59,7 +59,7 @@ public class Module : XmppStreamModule {
public class SendPipelineListener : StanzaListener<MessageStanza> {
- private const string[] after_actions_const = {"MODIFY_BODY"};
+ private string[] after_actions_const = {"MODIFY_BODY"};
public override string action_group { get { return "ADD_NODES"; } }
public override string[] after_actions { get { return after_actions_const; } }
diff --git a/xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala b/xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala
index cee09f22..e50ec28a 100644
--- a/xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala
+++ b/xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala
@@ -44,7 +44,7 @@ namespace Xmpp.Xep.MessageDeliveryReceipts {
public class SendPipelineListener : StanzaListener<MessageStanza> {
- private const string[] after_actions_const = {};
+ private string[] after_actions_const = {};
public override string action_group { get { return "ADD_NODES"; } }
public override string[] after_actions { get { return after_actions_const; } }
diff --git a/xmpp-vala/src/module/xep/0203_delayed_delivery.vala b/xmpp-vala/src/module/xep/0203_delayed_delivery.vala
index 5105ac19..256cba7a 100644
--- a/xmpp-vala/src/module/xep/0203_delayed_delivery.vala
+++ b/xmpp-vala/src/module/xep/0203_delayed_delivery.vala
@@ -48,7 +48,7 @@ public class Module : XmppStreamModule {
public class ReceivedPipelineListener : StanzaListener<MessageStanza> {
- private const string[] after_actions_const = {};
+ private string[] after_actions_const = {};
public override string action_group { get { return "ADD_NODE"; } }
public override string[] after_actions { get { return after_actions_const; } }
diff --git a/xmpp-vala/src/module/xep/0280_message_carbons.vala b/xmpp-vala/src/module/xep/0280_message_carbons.vala
index cfc95262..5b2dcb78 100644
--- a/xmpp-vala/src/module/xep/0280_message_carbons.vala
+++ b/xmpp-vala/src/module/xep/0280_message_carbons.vala
@@ -40,7 +40,7 @@ public class Module : XmppStreamModule {
public class ReceivedPipelineListener : StanzaListener<MessageStanza> {
- private const string[] after_actions_const = {"EXTRACT_MESSAGE_1"};
+ private string[] after_actions_const = {"EXTRACT_MESSAGE_1"};
public override string action_group { get { return "EXTRACT_MESSAGE_2"; } }
public override string[] after_actions { get { return after_actions_const; } }
diff --git a/xmpp-vala/src/module/xep/0313_message_archive_management.vala b/xmpp-vala/src/module/xep/0313_message_archive_management.vala
index f45dda01..c24c6b04 100644
--- a/xmpp-vala/src/module/xep/0313_message_archive_management.vala
+++ b/xmpp-vala/src/module/xep/0313_message_archive_management.vala
@@ -115,7 +115,7 @@ public class Module : XmppStreamModule {
public class ReceivedPipelineListener : StanzaListener<MessageStanza> {
- private const string[] after_actions_const = {};
+ private string[] after_actions_const = {};
public override string action_group { get { return "EXTRACT_MESSAGE_1"; } }
public override string[] after_actions { get { return after_actions_const; } }
diff --git a/xmpp-vala/src/module/xep/0333_chat_markers.vala b/xmpp-vala/src/module/xep/0333_chat_markers.vala
index 81a868a6..dda1d94d 100644
--- a/xmpp-vala/src/module/xep/0333_chat_markers.vala
+++ b/xmpp-vala/src/module/xep/0333_chat_markers.vala
@@ -59,7 +59,7 @@ public class Module : XmppStreamModule {
public class SendPipelineListener : StanzaListener<MessageStanza> {
- private const string[] after_actions_const = {};
+ private string[] after_actions_const = {};
public override string action_group { get { return "ADD_NODES"; } }
public override string[] after_actions { get { return after_actions_const; } }
diff --git a/xmpp-vala/src/module/xep/0363_http_file_upload.vala b/xmpp-vala/src/module/xep/0363_http_file_upload.vala
index a6ebbecb..0acc9602 100644
--- a/xmpp-vala/src/module/xep/0363_http_file_upload.vala
+++ b/xmpp-vala/src/module/xep/0363_http_file_upload.vala
@@ -182,7 +182,7 @@ public class Module : XmppStreamModule {
public class ReceivedPipelineListener : StanzaListener<MessageStanza> {
- private const string[] after_actions_const = {"EXTRACT_MESSAGE_2"};
+ private string[] after_actions_const = {"EXTRACT_MESSAGE_2"};
public override string action_group { get { return "EXTRACT_MESSAGE_2"; } }
public override string[] after_actions { get { return after_actions_const; } }