Add setting to allow legacy UDP offline message fetch till LL fixes the cap.

This commit is contained in:
Router Gray
2020-05-19 16:46:52 -05:00
parent f941bc4334
commit 24f5457203
2 changed files with 13 additions and 0 deletions

View File

@@ -29,6 +29,7 @@
#include "llimprocessing.h"
#include "hippofloaterxml.h"
#include "hippogridmanager.h"
#include "llagent.h"
#include "llagentui.h"
#include "llavataractions.h"
@@ -1877,6 +1878,7 @@ void LLIMProcessing::requestOfflineMessages()
// to build a correct name. Likewise, inventory offers from
// muted avatars require the mute list to properly mute.
if (cap_url.empty()
|| (gHippoGridManager->getConnectedGrid()->isSecondLife() && gSavedSettings.getBOOL("RGUseLegacyOfflines"))
|| gAgent.getRegionCapability("AcceptFriendship").empty()
|| gAgent.getRegionCapability("AcceptGroupInvite").empty())
{