TF-1139 Specify Team Mail in user agent
This commit is contained in:
@@ -550,6 +550,7 @@ class ComposerController extends BaseController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final userAgent = await userAgentPlatform;
|
final userAgent = await userAgentPlatform;
|
||||||
|
log('ComposerController::_generateEmail(): userAgent: $userAgent');
|
||||||
|
|
||||||
Map<MailboxId, bool> mailboxIds = {};
|
Map<MailboxId, bool> mailboxIds = {};
|
||||||
if (asDrafts && draftMailboxId != null) {
|
if (asDrafts && draftMailboxId != null) {
|
||||||
@@ -615,7 +616,7 @@ class ComposerController extends BaseController {
|
|||||||
} on Exception {
|
} on Exception {
|
||||||
userAgent = '';
|
userAgent = '';
|
||||||
}
|
}
|
||||||
return userAgent;
|
return 'Team-Mail/${mailboxDashBoardController.appInformation.value?.version} $userAgent';
|
||||||
}
|
}
|
||||||
|
|
||||||
void sendEmailAction(BuildContext context) async {
|
void sendEmailAction(BuildContext context) async {
|
||||||
|
|||||||
Reference in New Issue
Block a user