Nope, this was broken, woops!~

This commit is contained in:
Liru Færs
2021-02-14 14:36:45 -05:00
parent 8d2bdd4a18
commit ae244983b0

View File

@@ -140,7 +140,7 @@ struct CommWrapper
static bool only_comm()
{
static const LLCachedControl<bool> only("CommunicateSpecificShortcut");
return only || LLFloaterChatterBox::instance().getFloaterCount();
return only || LLFloaterChatterBox::getInstance()->getFloaterCount();
}
static bool instanceVisible(const LLSD& key) { return only_comm() ? LLFloaterChatterBox::instanceVisible(key) : LLFloaterMyFriends::instanceVisible(key); }
static void toggleInstance(const LLSD& key) { only_comm() ? LLFloaterChatterBox::toggleInstance(key) : LLFloaterMyFriends::toggleInstance(key); }