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
+1
View File
@@ -24,6 +24,7 @@
- Bugfix: Ensure miniaudio backend exits even if it doesn't exit cleanly. (#5896)
- Bugfix: Fixed search in emote popup not always working correctly. (#5946)
- Bugfix: Fixed channel point redemptions with messages not showing up if PubSub is disconnected. (#5948)
- Dev: Subscriptions to PubSub channel points redemption topics now use no auth token, making it continue to work during PubSub shutdown. (#5947)
- Dev: Add initial experimental EventSub support. (#5837, #5895, #5897, #5904, #5910, #5903, #5915, #5916, #5930, #5935, #5932, #5943)
- Dev: Remove unneeded platform specifier for toasts. (#5914)
- Dev: Highlight checks now use non-capturing groups for the boundaries. (#5784)
+3
View File
@@ -1243,7 +1243,10 @@ void PubSub::runThread()
void PubSub::listenToTopic(const QString &topic)
{
PubSubListenMessage msg({topic});
if (!topic.startsWith("community-points-channel-v1."))
{
msg.setToken(this->token_);
}
this->listen(std::move(msg));
}