Replace remaining occurrences of NearByChatChannelUUID debug setting
parent
d06d0162c7
commit
b7367db706
|
|
@ -367,7 +367,7 @@ void FSFloaterNearbyChat::openFloater(const LLSD& key)
|
|||
|
||||
void FSFloaterNearbyChat::removeScreenChat()
|
||||
{
|
||||
LLNotificationsUI::LLScreenChannelBase* chat_channel = LLNotificationsUI::LLChannelManager::getInstance()->findChannelByID(LLUUID(gSavedSettings.getString("NearByChatChannelUUID")));
|
||||
LLNotificationsUI::LLScreenChannelBase* chat_channel = LLNotificationsUI::LLChannelManager::getInstance()->findChannelByID(LLNotificationsUI::NOTIFICATION_CHANNEL_UUID);
|
||||
if (chat_channel)
|
||||
{
|
||||
chat_channel->removeToastsFromChannel();
|
||||
|
|
|
|||
|
|
@ -1256,7 +1256,7 @@ bool idle_startup()
|
|||
gLoginMenuBarView->setVisible( TRUE );
|
||||
gLoginMenuBarView->setEnabled( TRUE );
|
||||
|
||||
LLNotificationsUI::LLScreenChannelBase* chat_channel = LLNotificationsUI::LLChannelManager::getInstance()->findChannelByID(LLUUID(gSavedSettings.getString("NearByChatChannelUUID")));
|
||||
LLNotificationsUI::LLScreenChannelBase* chat_channel = LLNotificationsUI::LLChannelManager::getInstance()->findChannelByID(LLNotificationsUI::NOTIFICATION_CHANNEL_UUID);
|
||||
if(chat_channel)
|
||||
{
|
||||
chat_channel->removeToastsFromChannel();
|
||||
|
|
@ -3919,7 +3919,7 @@ void reset_login()
|
|||
}
|
||||
|
||||
// Hide any other stuff
|
||||
LLNotificationsUI::LLScreenChannelBase* chat_channel = LLNotificationsUI::LLChannelManager::getInstance()->findChannelByID(LLUUID(gSavedSettings.getString("NearByChatChannelUUID")));
|
||||
LLNotificationsUI::LLScreenChannelBase* chat_channel = LLNotificationsUI::LLChannelManager::getInstance()->findChannelByID(LLNotificationsUI::NOTIFICATION_CHANNEL_UUID);
|
||||
if(chat_channel)
|
||||
{
|
||||
chat_channel->removeToastsFromChannel();
|
||||
|
|
|
|||
Loading…
Reference in New Issue