Skip to content

Commit

Permalink
TF-3189 added subaddressingSupported to mailbox_constants
Browse files Browse the repository at this point in the history
  • Loading branch information
florentos17 committed Dec 3, 2024
1 parent db23d2b commit 32d4207
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import 'package:get/get.dart';
import 'package:jmap_dart_client/jmap/account_id.dart';
import 'package:jmap_dart_client/jmap/core/capability/capability_identifier.dart';
import 'package:jmap_dart_client/jmap/core/session/session.dart';
import 'package:model/mailbox/mailbox_constants.dart';
import 'package:model/model.dart';
import 'package:tmail_ui_user/features/base/base_mailbox_controller.dart';
import 'package:tmail_ui_user/features/base/widget/popup_item_widget.dart';
Expand Down Expand Up @@ -280,7 +281,7 @@ mixin MailboxWidgetMixin {

return (session.getCapabilityProperties(accountId, CapabilityIdentifier.jmapTeamMailboxes)
?.props[0] as Map<String, dynamic>?)
?['subaddressingSupported']
?[subaddressingSupported]
?? false;
}

Expand Down
1 change: 1 addition & 0 deletions model/lib/mailbox/mailbox_constants.dart
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const String anyoneIdentifier = 'anyone';
const String postingRight = 'p';
const String subaddressingSupported = "subaddressingSupported";

0 comments on commit 32d4207

Please sign in to comment.