fix: Twitch dropping MAGIC_MESSAGE_SUFFIX (#6417)
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
- Minor: The follow and sub dates now show the duration in a tooltip. (#6384)
|
- Minor: The follow and sub dates now show the duration in a tooltip. (#6384)
|
||||||
- Minor: Usercards now show a live indicator if the user is currently streaming. (#6383)
|
- Minor: Usercards now show a live indicator if the user is currently streaming. (#6383)
|
||||||
- Minor: Consolidate twitch.tv URLs to start with www (#6407)
|
- Minor: Consolidate twitch.tv URLs to start with www (#6407)
|
||||||
|
- Bugfix: Fixed duplicate message sending for single-worded messages. (#6417)
|
||||||
- Bugfix: Commands are no longer tab-completable in the middle of messages. (#6273)
|
- Bugfix: Commands are no longer tab-completable in the middle of messages. (#6273)
|
||||||
- Bugfix: Automatic streamer mode detection now works from Flatpak. (#6250)
|
- Bugfix: Automatic streamer mode detection now works from Flatpak. (#6250)
|
||||||
- Bugfix: Don't create native messaging manifest file if browser directory doesn't exist. (#6116)
|
- Bugfix: Don't create native messaging manifest file if browser directory doesn't exist. (#6116)
|
||||||
|
|||||||
@@ -79,11 +79,7 @@ bool isUnknownCommand(const QString &text)
|
|||||||
using detail::isUnknownCommand;
|
using detail::isUnknownCommand;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(6, 1, 0)
|
const QString MAGIC_MESSAGE_SUFFIX = u" \u034f"_s;
|
||||||
const QString MAGIC_MESSAGE_SUFFIX = QString((const char *)u8" \U000E0000");
|
|
||||||
#else
|
|
||||||
const QString MAGIC_MESSAGE_SUFFIX = QString::fromUtf8(u8" \U000E0000");
|
|
||||||
#endif
|
|
||||||
constexpr int CLIP_CREATION_COOLDOWN = 5000;
|
constexpr int CLIP_CREATION_COOLDOWN = 5000;
|
||||||
const QString CLIPS_LINK("https://clips.twitch.tv/%1");
|
const QString CLIPS_LINK("https://clips.twitch.tv/%1");
|
||||||
const QString CLIPS_FAILURE_CLIPS_UNAVAILABLE_TEXT(
|
const QString CLIPS_FAILURE_CLIPS_UNAVAILABLE_TEXT(
|
||||||
|
|||||||
Reference in New Issue
Block a user