From 76e425ed2705349b201444e78719896419862b00 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 12 Oct 2021 16:14:01 +0200 Subject: Fix compiler warnings ('assignment .. from incompatible pointer type') by returning non-const after_actions in OrderListener --- xmpp-vala/src/module/xep/0045_muc/module.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp-vala/src/module/xep/0045_muc') 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 { - 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; } } -- cgit v1.2.3-70-g09d2