mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 07:37:16 +02:00
Allow all node types to receive messages from Messages server
This commit is contained in:
parent
89e6e10c1d
commit
2ca50153b3
1 changed files with 1 additions and 2 deletions
|
@ -44,8 +44,7 @@ void MessagesMixer::handleMessages(QSharedPointer<ReceivedMessage> receivedMessa
|
|||
|
||||
nodeList->eachMatchingNode(
|
||||
[&](const SharedNodePointer& node)->bool {
|
||||
return node->getType() == NodeType::Agent && node->getActiveSocket() &&
|
||||
_channelSubscribers[channel].contains(node->getUUID());
|
||||
return node->getActiveSocket() && _channelSubscribers[channel].contains(node->getUUID());
|
||||
},
|
||||
[&](const SharedNodePointer& node) {
|
||||
auto packetList = MessagesClient::encodeMessagesPacket(channel, message, senderID);
|
||||
|
|
Loading…
Reference in a new issue