Merge pull request #1277 from vector-im/locales_in_bug_report

Bug report: add "locale", the device language and "app_language", the…
This commit is contained in:
manuroe
2017-06-09 14:54:00 +02:00
committed by GitHub
@@ -222,6 +222,10 @@
{
userInfo[@"device_id"] = mainAccount.mxSession.matrixRestClient.credentials.deviceId;
}
userInfo[@"locale"] = [NSLocale preferredLanguages][0];
userInfo[@"app_language"] = [[NSBundle mainBundle] preferredLocalizations][0];
bugReportRestClient.others = userInfo;
// Screenshot