Make sure to always set something as a name for Bugsplat

meow-7.2.2
Nicky 2020-05-12 17:29:39 +02:00
parent 9908402334
commit 39f3ceeed7
1 changed files with 3 additions and 0 deletions

View File

@ -157,6 +157,9 @@ namespace
sBugSplatSender->setDefaultUserEmail( WCSTR(STRINGIZE(LLOSInfo::instance().getOSStringSimple() << " (" << ADDRESS_SIZE << "-bit, flavor " << flavor <<")")));
// </FS:ND>
//<FS:ND/> Clear out username first, as we get some crashes that has the OS set as username, let's see if this fixes it.
sBugSplatSender->setDefaultUserName(L"<unset>");
// <FS:ND> Only send avatar name if enabled via prefs
if (gCrashSettings.getBOOL("CrashSubmitName"))
{