频道权限问题,非订阅用户可以给全局频道和可以给非订阅用户发消息的频道回复消息

This commit is contained in:
heavyrain2012
2021-12-24 22:14:04 +08:00
parent cb09026408
commit 7ca3abe12d
6 changed files with 32 additions and 9 deletions
@@ -211,6 +211,7 @@ public interface IMessagesStore {
List<WFCMessage.ChannelInfo> searchChannel(String keyword, boolean buzzy, int page);
ErrorCode listenChannel(String operator, String channelId, boolean listen);
WFCMessage.ChannelInfo getChannelInfo(String channelId);
boolean canSendMessageInChannel(String user, String channelId);
boolean checkUserInChannel(String user, String channelId);
Collection<String> getChannelSubscriber(String channelId);