Merge pull request #9304 from zfox23/ClearPersonalMute

Also clear personalMutedList upon reset()
This commit is contained in:
Zach Fox 2017-01-04 15:07:28 -08:00 committed by GitHub
commit 9a44cf1720

View file

@ -242,6 +242,10 @@ void NodeList::reset() {
_ignoredSetLock.lockForWrite();
_ignoredNodeIDs.clear();
_ignoredSetLock.unlock();
// lock and clear our set of personally muted IDs
_personalMutedSetLock.lockForWrite();
_personalMutedNodeIDs.clear();
_personalMutedSetLock.unlock();
// refresh the owner UUID to the NULL UUID
setSessionUUID(QUuid());