Commit 7f3ebbb
committed
Prevent crash with duplicate room suggestion
If two rooms have the same canonical alias, e.g. the recently tombstoned
and upgraded #foundation-office:matrix.org, typing `#foun` into the
composer could cause the app to crash. This avoids that by using the
(hopefully) globally unique room id as the key instead.
Signed-off-by: Joe Groocock <[email protected]>1 parent f344a12 commit 7f3ebbb
File tree
1 file changed
+1
-1
lines changed- features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/messagecomposer/suggestions
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments