Fixed text message sending
This commit is contained in:
@@ -543,7 +543,7 @@ command_result ConnectedClient::handleCommandSendTextMessage(Command &cmd) {
|
||||
channel_tree_read_lock.lock();
|
||||
}
|
||||
|
||||
ACTION_REQUIRES_PERMISSION(permission::b_client_channel_textmessage_send, 1, channel_id);
|
||||
if(!permission::v2::permission_granted(1, this->calculate_permission(permission::b_client_channel_textmessage_send, channel_id), false)) \
|
||||
return command_result{permission::b_client_channel_textmessage_send};
|
||||
|
||||
bool conversation_private = channel->properties()[property::CHANNEL_FLAG_CONVERSATION_PRIVATE].as<bool>();
|
||||
|
||||
Reference in New Issue
Block a user