aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo
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 /plugins/omemo
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 'plugins/omemo')
-rw-r--r--plugins/omemo/src/dtls_srtp_verification_draft.vala2
1 files changed, 1 insertions, 1 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; } }