状态消息也需要同步到发送者的其它端
This commit is contained in:
@@ -368,9 +368,9 @@ public class MemoryMessagesStore implements IMessagesStore {
|
|||||||
pullType = ProtoConstants.PullType.Pull_ChatRoom;
|
pullType = ProtoConstants.PullType.Pull_ChatRoom;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (message.getContent().getPersistFlag() != Transparent) {
|
// if (message.getContent().getPersistFlag() != Transparent) {
|
||||||
notifyReceivers.add(fromUser);
|
notifyReceivers.add(fromUser);
|
||||||
}
|
// }
|
||||||
return pullType;
|
return pullType;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -454,10 +454,10 @@ public class MemoryMessagesStore implements IMessagesStore {
|
|||||||
LOG.error("Channel not exist");
|
LOG.error("Channel not exist");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//
|
||||||
if (message.getContent().getPersistFlag() == Transparent) {
|
// if (message.getContent().getPersistFlag() == Transparent) {
|
||||||
notifyReceivers.remove(fromUser);
|
// notifyReceivers.remove(fromUser);
|
||||||
}
|
// }
|
||||||
|
|
||||||
return pullType;
|
return pullType;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user