chore(pubsub): remove unused whisper code 👷🏻‍♀️ (#5898)

This commit is contained in:
pajlada
2025-02-03 19:18:08 +01:00
committed by GitHub
parent 0c489e0033
commit 5e3412c3bb
8 changed files with 2 additions and 209 deletions
-16
View File
@@ -129,26 +129,10 @@ public:
Signal<AutomodInfoAction> automodInfoMessage;
} moderation;
struct {
// Parsing should be done in PubSubManager as well,
// but for now we just send the raw data
Signal<const PubSubWhisperMessage &> received;
Signal<const PubSubWhisperMessage &> sent;
} whisper;
struct {
Signal<const QJsonObject &> redeemed;
} pointReward;
/**
* Listen to incoming whispers for the currently logged in user.
* This topic is relevant for everyone.
*
* PubSub topic: whispers.{currentUserID}
*/
bool listenToWhispers();
void unlistenWhispers();
/**
* Listen to moderation actions in the given channel.
* This topic is relevant for everyone.