The devices section stops printing a cap it does not know
Same as the iOS screen: it said "N of 3 registered" while the cap is the relay's `FN_MAX_DEVICES`. Production runs six, so an account at the limit read "6 of 3 registered" on the screen people are sent to when they are told they have too many devices. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
965216439f
commit
616e23c16c
@@ -3434,7 +3434,11 @@ fun ContactListPrivacySection(model: MessengerViewModel) {
|
||||
|
||||
/**
|
||||
* The account's registered devices, every one is a full mailbox and a prekey
|
||||
* pool on the relay, which caps them at three.
|
||||
* pool on the relay.
|
||||
*
|
||||
* The cap is the relay's (`FN_MAX_DEVICES`), not the app's, and it is not
|
||||
* three: production runs six, and a self-hoster picks their own. This said
|
||||
* "of 3", so an account at the limit read "6 of 3 registered".
|
||||
*/
|
||||
@Composable
|
||||
fun RegisteredDevicesSection(
|
||||
@@ -3446,7 +3450,7 @@ fun RegisteredDevicesSection(
|
||||
|
||||
Text("Registered devices", style = MaterialTheme.typography.titleMedium)
|
||||
Text(
|
||||
"${phase.registeredDevices.size} of 3 registered. Each device holds its " +
|
||||
"${phase.registeredDevices.size} registered. Each device holds its " +
|
||||
"own keys and its own mailbox; removing one deletes its undelivered " +
|
||||
"messages and signs it out for good.",
|
||||
fontSize = 12.sp,
|
||||
|
||||
Reference in New Issue
Block a user