mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Send ordered packet lists for ignore feature
This commit is contained in:
parent
782155e9ea
commit
bf13d0cc80
1 changed files with 2 additions and 2 deletions
|
@ -950,7 +950,7 @@ void NodeList::maybeSendIgnoreSetToNode(SharedNodePointer newNode) {
|
||||||
|
|
||||||
if (_personalMutedNodeIDs.size() > 0) {
|
if (_personalMutedNodeIDs.size() > 0) {
|
||||||
// setup a packet list so we can send the stream of ignore IDs
|
// setup a packet list so we can send the stream of ignore IDs
|
||||||
auto personalMutePacketList = NLPacketList::create(PacketType::NodeIgnoreRequest, QByteArray(), true);
|
auto personalMutePacketList = NLPacketList::create(PacketType::NodeIgnoreRequest, QByteArray(), true, true);
|
||||||
|
|
||||||
// Force the "enabled" flag in this packet to true
|
// Force the "enabled" flag in this packet to true
|
||||||
personalMutePacketList->writePrimitive(true);
|
personalMutePacketList->writePrimitive(true);
|
||||||
|
@ -977,7 +977,7 @@ void NodeList::maybeSendIgnoreSetToNode(SharedNodePointer newNode) {
|
||||||
|
|
||||||
if (_ignoredNodeIDs.size() > 0) {
|
if (_ignoredNodeIDs.size() > 0) {
|
||||||
// setup a packet list so we can send the stream of ignore IDs
|
// setup a packet list so we can send the stream of ignore IDs
|
||||||
auto ignorePacketList = NLPacketList::create(PacketType::NodeIgnoreRequest, QByteArray(), true);
|
auto ignorePacketList = NLPacketList::create(PacketType::NodeIgnoreRequest, QByteArray(), true, true);
|
||||||
|
|
||||||
// Force the "enabled" flag in this packet to true
|
// Force the "enabled" flag in this packet to true
|
||||||
ignorePacketList->writePrimitive(true);
|
ignorePacketList->writePrimitive(true);
|
||||||
|
|
Loading…
Reference in a new issue