diff options
author | fiaxh <git@lightrise.org> | 2021-10-12 16:14:01 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2021-10-12 17:59:47 +0200 |
commit | 76e425ed2705349b201444e78719896419862b00 (patch) | |
tree | 7a431dca0637ba71c9fca8ad4b0c229ec9ae33d7 | |
parent | 8d8dcf5af67ad89c328e67dc2c3469ef90283d9a (diff) | |
download | dino-76e425ed2705349b201444e78719896419862b00.tar.gz dino-76e425ed2705349b201444e78719896419862b00.zip |
Fix compiler warnings ('assignment .. from incompatible pointer type') by returning non-const after_actions in OrderListener
10 files changed, 10 insertions, 10 deletions
diff --git a/plugins/omemo/src/dtls_srtp_verification_draft.vala b/plugins/omemo/src/dtls_srtp_verification_draft.vala index 5fc9b339..810092c3 100644 --- a/plugins/omemo/src/dtls_srtp_verification_draft.vala +++ b/plugins/omemo/src/dtls_srtp_verification_draft.vala @@ -171,7 +171,7 @@ namespace Dino.Plugins.Omemo.DtlsSrtpVerificationDraft { public class VerificationSendListener : StanzaListener<MessageStanza> { - private const string[] after_actions_const = {}; + private string[] after_actions_const = {}; public override string action_group { get { return "REWRITE_NODES"; } } public override string[] after_actions { get { return after_actions_const; } } diff --git a/plugins/openpgp/src/stream_module.vala b/plugins/openpgp/src/stream_module.vala index 447ed5fd..32a77580 100644 --- a/plugins/openpgp/src/stream_module.vala +++ b/plugins/openpgp/src/stream_module.vala @@ -136,7 +136,7 @@ namespace Dino.Plugins.OpenPgp { public class ReceivedPipelineDecryptListener : StanzaListener<MessageStanza> { - private const string[] after_actions_const = {"MODIFY_BODY"}; + private string[] after_actions_const = {"MODIFY_BODY"}; public override string action_group { get { return "ENCRYPT_BODY"; } } public override string[] after_actions { get { return after_actions_const; } } 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; } } |