Fix compiler warnings ('assignment .. from incompatible pointer type') by returning non-const after_actions in OrderListener

This commit is contained in:
fiaxh 2021-10-12 16:14:01 +02:00
parent 8d8dcf5af6
commit 76e425ed27
10 changed files with 10 additions and 10 deletions

View File

@ -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; } }

View File

@ -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; } }

View File

@ -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; } }

View File

@ -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; } }

View File

@ -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; } }

View File

@ -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; } }

View File

@ -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; } }

View File

@ -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; } }

View File

@ -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; } }

View File

@ -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; } }