Fixed chat bug
This commit is contained in:
parent
f2a80275eb
commit
c9d96bbdca
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user