mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
Add explaining comment
This commit is contained in:
parent
865a0925f0
commit
626c3053d2
@ -44,6 +44,7 @@ export class VerificationToastCollectionViewModel extends ViewModel<SegmentType,
|
||||
|
||||
async onAdd(_, request: SASRequest) {
|
||||
if (request.sender !== this.getOption("session").userId) {
|
||||
// Don't show toast for cross-signing other users
|
||||
return;
|
||||
}
|
||||
const dismiss = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user