diff --git a/CHANGELOG.md b/CHANGELOG.md index ac3e44bd..bc0f6fd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,7 @@ - Minor: The font weight of chat messages can now be changed. (#6037) - Minor: Messages from restricted users can now be hidden when in streamer mode. This is enabled by default. (#6042, #6049) - Minor: Added a tab style option allowing you to make your tabs more compact. (#5858) -- Minor: Chatterino now warns about missing scopes when logging in. (#6072) +- Minor: Chatterino now warns about missing scopes when logging in. (#6072, #6083) - Bugfix: Fixed a potential way to escape the Lua Plugin sandbox. (#5846) - Bugfix: Fixed a crash relating to Lua HTTP. (#5800) - Bugfix: Fixed a crash that could occur on Linux and macOS when clicking "Install" from the update prompt. (#5818) diff --git a/src/messages/MessageBuilder.cpp b/src/messages/MessageBuilder.cpp index 5fbd2074..3c2d0b3c 100644 --- a/src/messages/MessageBuilder.cpp +++ b/src/messages/MessageBuilder.cpp @@ -2060,13 +2060,13 @@ MessagePtr MessageBuilder::makeLowTrustUpdateMessage( MessagePtrMut MessageBuilder::makeMissingScopesMessage( const QString &missingScopes) { - auto warnText = u"Your account is missing the following permission(s): " % - missingScopes % - u". Some features might not work correctly."; + QString warnText = + u"Your account is missing the following permission(s): " % + missingScopes % u". Some features might not work correctly."; auto linkText = u"Consider re-adding your account."_s; MessageBuilder builder; - auto text = warnText % ' ' % linkText; + QString text = warnText % ' ' % linkText; builder->messageText = text; builder->searchText = text; builder->flags.set(MessageFlag::System,