修正频道拉取远程消息的问题
This commit is contained in:
@@ -33,7 +33,7 @@ public class LoadRemoteMessagesHandler extends IMHandler<WFCMessage.LoadRemoteMe
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (request.getConversation().getType() == ProtoConstants.ConversationType.ConversationType_Channel) {
|
if (request.getConversation().getType() == ProtoConstants.ConversationType.ConversationType_Channel) {
|
||||||
if (m_messagesStore.checkUserInChannel(fromUser, request.getConversation().getTarget())) {
|
if (!m_messagesStore.checkUserInChannel(fromUser, request.getConversation().getTarget())) {
|
||||||
return ErrorCode.ERROR_CODE_NOT_IN_CHANNEL;
|
return ErrorCode.ERROR_CODE_NOT_IN_CHANNEL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user