fix: receive redemptions despite pubsub shutdown (#5947)
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
- Bugfix: Ensure miniaudio backend exits even if it doesn't exit cleanly. (#5896)
|
- 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 search in emote popup not always working correctly. (#5946)
|
||||||
- Bugfix: Fixed channel point redemptions with messages not showing up if PubSub is disconnected. (#5948)
|
- 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: 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: Remove unneeded platform specifier for toasts. (#5914)
|
||||||
- Dev: Highlight checks now use non-capturing groups for the boundaries. (#5784)
|
- Dev: Highlight checks now use non-capturing groups for the boundaries. (#5784)
|
||||||
|
|||||||
@@ -1243,7 +1243,10 @@ void PubSub::runThread()
|
|||||||
void PubSub::listenToTopic(const QString &topic)
|
void PubSub::listenToTopic(const QString &topic)
|
||||||
{
|
{
|
||||||
PubSubListenMessage msg({topic});
|
PubSubListenMessage msg({topic});
|
||||||
msg.setToken(this->token_);
|
if (!topic.startsWith("community-points-channel-v1."))
|
||||||
|
{
|
||||||
|
msg.setToken(this->token_);
|
||||||
|
}
|
||||||
|
|
||||||
this->listen(std::move(msg));
|
this->listen(std::move(msg));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user