feat: delete messages from context menu (#5956)
This commit is contained in:
@@ -59,6 +59,7 @@ struct HelixGlobalBadges;
|
||||
using HelixChannelBadges = HelixGlobalBadges;
|
||||
|
||||
class TwitchIrcServer;
|
||||
class TwitchAccount;
|
||||
|
||||
const int MAX_QUEUED_REDEMPTIONS = 16;
|
||||
|
||||
@@ -164,6 +165,12 @@ public:
|
||||
QString getCurrentStreamID() const override;
|
||||
void createClip();
|
||||
|
||||
/// Delete the message with the specified ID as a moderator.
|
||||
///
|
||||
/// If the ID is empty, all messages will be deleted, effectively clearing
|
||||
/// the chat.
|
||||
void deleteMessagesAs(const QString &messageID, TwitchAccount *moderator);
|
||||
|
||||
// Data
|
||||
const QString &subscriptionUrl();
|
||||
const QString &channelUrl();
|
||||
|
||||
Reference in New Issue
Block a user