feat: Send messages using Helix API (#5200)

This commit is contained in:
nerix
2024-02-25 14:45:55 +01:00
committed by GitHub
parent 1e2c943ae9
commit 0cfd25ce8e
8 changed files with 306 additions and 20 deletions
+9
View File
@@ -62,6 +62,12 @@ enum UsernameRightClickBehavior : int {
Ignore = 2,
};
enum class ChatSendProtocol : int {
Default = 0,
IRC = 1,
Helix = 2,
};
/// Settings which are availlable for reading and writing on the gui thread.
// These settings are still accessed concurrently in the code but it is bad practice.
class Settings
@@ -524,6 +530,9 @@ public:
HelixTimegateOverride::Timegate,
};
EnumStringSetting<ChatSendProtocol> chatSendProtocol = {
"/misc/chatSendProtocol", ChatSendProtocol::Default};
BoolSetting openLinksIncognito = {"/misc/openLinksIncognito", 0};
EnumSetting<ThumbnailPreviewMode> emotesTooltipPreview = {