Get UserActivityLogger working in AC scripts

This commit is contained in:
David Rowe 2017-05-17 14:30:32 +12:00
parent e446d0f8c9
commit e69c322fd3

View file

@ -28,6 +28,7 @@
#include <SettingHandle.h>
#include "NetworkingConstants.h"
#include "NetworkLogging.h"
#include "NodeList.h"
#include "udt/PacketHeaders.h"
@ -225,6 +226,10 @@ void AccountManager::sendRequest(const QString& path,
uuidStringWithoutCurlyBraces(_sessionID).toLocal8Bit());
QUrl requestURL = _authURL;
if (requestURL.isEmpty()) { // Assignment client doesn't set _authURL.
requestURL = NetworkingConstants::METAVERSE_SERVER_URL;
}
if (path.startsWith("/")) {
requestURL.setPath(path);