Skip to content

Commit 884bd25

Browse files
committed
Prettier
Signed-off-by: Michael Telatynski <[email protected]>
1 parent c306d87 commit 884bd25

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

docs/warning-on-unverified-devices.md

+11-13
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
11
Random notes from Matthew on the two possible approaches for warning users about unexpected
22
unverified devices popping up in their rooms....
33

4-
Original idea...
5-
================
4+
# Original idea...
65

76
Warn when an existing user adds an unknown device to a room.
87

98
Warn when a user joins the room with unverified or unknown devices.
109

1110
Warn when you initial sync if the room has any unverified devices in it.
12-
^ this is good enough if we're doing local storage.
13-
OR, better:
11+
^ this is good enough if we're doing local storage.
12+
OR, better:
1413
Warn when you initial sync if the room has any new undefined devices since you were last there.
15-
=> This means persisting the rooms that devices are in, across initial syncs.
14+
=> This means persisting the rooms that devices are in, across initial syncs.
1615

17-
18-
Updated idea...
19-
===============
16+
# Updated idea...
2017

2118
Warn when the user tries to send a message:
22-
- If the room has unverified devices which the user has not yet been told about in the context of this room
23-
...or in the context of this user? currently all verification is per-user, not per-room.
19+
20+
- If the room has unverified devices which the user has not yet been told about in the context of this room
21+
...or in the context of this user? currently all verification is per-user, not per-room.
2422
...this should be good enough.
2523

26-
- so track whether we have warned the user or not about unverified devices - blocked, unverified, verified, unverified_warned.
24+
- so track whether we have warned the user or not about unverified devices - blocked, unverified, verified, unverified_warned.
2725
throw an error when trying to encrypt if there are pure unverified devices there
2826
app will have to search for the devices which are pure unverified to warn about them - have to do this from MembersList anyway?
29-
- or megolm could warn which devices are causing the problems.
27+
- or megolm could warn which devices are causing the problems.
3028

31-
Why do we wait to establish outbound sessions? It just makes a horrible pause when we first try to send a message... but could otherwise unnecessarily consume resources?
29+
Why do we wait to establish outbound sessions? It just makes a horrible pause when we first try to send a message... but could otherwise unnecessarily consume resources?

0 commit comments

Comments
 (0)