Add setting to allow legacy UDP offline message fetch till LL fixes the cap.
This commit is contained in:
@@ -3,6 +3,17 @@
|
|||||||
<map>
|
<map>
|
||||||
<!-- Ascent-Specific Settings -->
|
<!-- Ascent-Specific Settings -->
|
||||||
|
|
||||||
|
<key>RGUseLegacyOfflines</key>
|
||||||
|
<map>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Use legacy UDP offline messages retrieval, to avoid missing attachments server bug. Will be removed when LL fixes the cap.</string>
|
||||||
|
<key>Persist</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
<key>Type</key>
|
||||||
|
<string>Boolean</string>
|
||||||
|
<key>Value</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
</map>
|
||||||
<key>SingularityBoldGroupModerator</key>
|
<key>SingularityBoldGroupModerator</key>
|
||||||
<map>
|
<map>
|
||||||
<key>Comment</key>
|
<key>Comment</key>
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
#include "llimprocessing.h"
|
#include "llimprocessing.h"
|
||||||
|
|
||||||
#include "hippofloaterxml.h"
|
#include "hippofloaterxml.h"
|
||||||
|
#include "hippogridmanager.h"
|
||||||
#include "llagent.h"
|
#include "llagent.h"
|
||||||
#include "llagentui.h"
|
#include "llagentui.h"
|
||||||
#include "llavataractions.h"
|
#include "llavataractions.h"
|
||||||
@@ -1877,6 +1878,7 @@ void LLIMProcessing::requestOfflineMessages()
|
|||||||
// to build a correct name. Likewise, inventory offers from
|
// to build a correct name. Likewise, inventory offers from
|
||||||
// muted avatars require the mute list to properly mute.
|
// muted avatars require the mute list to properly mute.
|
||||||
if (cap_url.empty()
|
if (cap_url.empty()
|
||||||
|
|| (gHippoGridManager->getConnectedGrid()->isSecondLife() && gSavedSettings.getBOOL("RGUseLegacyOfflines"))
|
||||||
|| gAgent.getRegionCapability("AcceptFriendship").empty()
|
|| gAgent.getRegionCapability("AcceptFriendship").empty()
|
||||||
|| gAgent.getRegionCapability("AcceptGroupInvite").empty())
|
|| gAgent.getRegionCapability("AcceptGroupInvite").empty())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user