Fixed chat bug

This commit is contained in:
WolverinDEV 2020-02-16 13:35:29 +01:00
parent f2a80275eb
commit c9d96bbdca

View File

@ -1213,6 +1213,6 @@ void VirtualServer::send_text_message(const std::shared_ptr<BasicChannel> &chann
if(!conversation_private) { if(!conversation_private) {
auto conversations = this->conversation_manager(); auto conversations = this->conversation_manager();
auto conversation = conversations->get_or_create(channel->channelId()); auto conversation = conversations->get_or_create(channel->channelId());
conversation->register_message(sender->getClientDatabaseId(), sender->getUid(), this->getDisplayName(), now, message); conversation->register_message(sender->getClientDatabaseId(), sender->getUid(), sender->getDisplayName(), now, message);
} }
} }