deriveMailboxId function

String deriveMailboxId(
  1. String agentId
)

Fabric mailbox id for a paired extension: browser-ext/<agentId>, the agent id sanitized by the same rules every mailbox directory uses.

Implementation

String deriveMailboxId(String agentId) =>
    '$bridgeMailboxPrefix${FileMessagingRepository.sanitizeAgentId(agentId)}';