refactor: Remove most raw accesses into Application (#5104)
This commit is contained in:
@@ -24,7 +24,7 @@ QString sendShoutout(const CommandContext &ctx)
|
||||
return "";
|
||||
}
|
||||
|
||||
auto currentUser = getApp()->accounts->twitch.getCurrent();
|
||||
auto currentUser = getIApp()->getAccounts()->twitch.getCurrent();
|
||||
if (currentUser->isAnon())
|
||||
{
|
||||
channel->addMessage(
|
||||
|
||||
Reference in New Issue
Block a user