Simplify selection of mute

This commit is contained in:
Liru Færs
2020-04-07 04:29:45 -04:00
parent b86eae026b
commit 1361f9b57d

View File

@@ -1368,8 +1368,7 @@ void inventory_offer_mute_callback(const LLUUID& blocked_id,
LLMute mute(blocked_id, full_name, mute_type);
if (LLMuteList::getInstance()->add(mute))
{
LLFloaterMute::showInstance();
LLFloaterMute::getInstance()->selectMute(blocked_id);
LLFloaterMute::showInstance()->selectMute(blocked_id);
}
// purge the message queue of any previously queued inventory offers from the same source.