isIllegalChannelSubType static method

bool isIllegalChannelSubType(
  1. int subType
)

Implementation

static bool isIllegalChannelSubType(int subType) {
  return (subType >= QChatSubscribeType.channelMsg.value() &&
          subType <= QChatSubscribeType.channelMsgUnreadStatus.value()) ||
      subType == QChatSubscribeType.channelMsgTyping.value();
}