fix error

This commit is contained in:
heavyrian2012
2025-09-06 23:33:35 +08:00
parent fe15a32499
commit 804c12845e
@@ -745,8 +745,8 @@ public class MemoryMessagesStore implements IMessagesStore {
int type = message.getConversation().getType(); int type = message.getConversation().getType();
int pullType = ProtoConstants.PullType.Pull_Normal; int pullType = ProtoConstants.PullType.Pull_Normal;
if (mRobotMentionExternalRobot && type == ProtoConstants.ConversationType.ConversationType_Private) { if (type == ProtoConstants.ConversationType.ConversationType_Private) {
if(message.getConversation().getTarget().contains("|")) { if(mRobotMentionExternalRobot && message.getConversation().getTarget().contains("|")) {
String[] ss = message.getConversation().getTarget().split("\\|"); String[] ss = message.getConversation().getTarget().split("\\|");
notifyReceivers.add(ss[0]); notifyReceivers.add(ss[0]);
notifyReceivers.add(ss[1]); notifyReceivers.add(ss[1]);