mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-10-31 21:20:23 +00:00
Fix compiler warnings ('assignment .. from incompatible pointer type') by returning non-const after_actions in OrderListener
This commit is contained in:
parent
8d8dcf5af6
commit
76e425ed27
10 changed files with 10 additions and 10 deletions
|
@ -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; } }
|
||||
|
|
|
@ -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; } }
|
||||
|
|
|
@ -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; } }
|
||||
|
|
|
@ -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; } }
|
||||
|
|
|
@ -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; } }
|
||||
|
|
|
@ -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; } }
|
||||
|
|
|
@ -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; } }
|
||||
|
|
|
@ -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; } }
|
||||
|
|
|
@ -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; } }
|
||||
|
|
|
@ -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; } }
|
||||
|
|
Loading…
Reference in a new issue