fix: receive redemptions despite pubsub shutdown (#5947)

This commit is contained in:
iProdigy
2025-02-11 10:50:11 -06:00
committed by GitHub
parent bd5044d104
commit adf923cdad
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -1243,7 +1243,10 @@ void PubSub::runThread()
void PubSub::listenToTopic(const QString &topic)
{
PubSubListenMessage msg({topic});
msg.setToken(this->token_);
if (!topic.startsWith("community-points-channel-v1."))
{
msg.setToken(this->token_);
}
this->listen(std::move(msg));
}