Fix lookupTopic

This commit is contained in:
Alex Hultman
2021-04-10 22:24:11 +02:00
parent 65d1498774
commit 5df25ffa59
3 changed files with 24 additions and 19 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ public:
for (auto *webSocketContext : webSocketContexts) {
auto *webSocketContextData = webSocketContext->getExt();
Topic *t = webSocketContextData->lookupTopic(topic);
Topic *t = webSocketContextData->topicTree.lookupTopic(topic);
if (t) {
subscribers += t->subs.size();
}