totally fucked up
This commit is contained in:
@@ -569,7 +569,7 @@ command_result ConnectedClient::handleCommandSendTextMessage(Command &cmd) {
|
||||
|
||||
if(this->handleTextMessage(ChatMessageMode::TEXTMODE_SERVER, cmd["msg"], nullptr)) return command_result{error::ok};
|
||||
for(const auto& client : this->server->getClients()) {
|
||||
if (client->connectionState() != ConnectionState::CONNECTED)
|
||||
if (client->connectionState() != ClientState::CONNECTED)
|
||||
continue;
|
||||
|
||||
auto type = client->getType();
|
||||
@@ -2526,7 +2526,7 @@ command_result ConnectedClient::handleCommandConversationMessageDelete(ts::Comma
|
||||
auto delete_count = current_conversation->delete_messages(timestamp_end, limit, timestamp_begin, bulk["cldbid"]);
|
||||
if(delete_count > 0) {
|
||||
for(const auto& client : ref_server->getClients()) {
|
||||
if(client->connectionState() != ConnectionState::CONNECTED)
|
||||
if(client->connectionState() != ClientState::CONNECTED)
|
||||
continue;
|
||||
|
||||
auto type = client->getType();
|
||||
|
||||
Reference in New Issue
Block a user