mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 11:05:03 +01:00
Add explaining comment
This commit is contained in:
parent
a582aa1746
commit
2670976647
@ -76,6 +76,11 @@ export class RightPanelViewModel extends ViewModel {
|
||||
};
|
||||
const id = this.navigation.path.get("verification").value;
|
||||
if (typeof id === "string") {
|
||||
/**
|
||||
* Here id is:
|
||||
* 1. id of the request when we receive a sas verification request
|
||||
* 2. id of the user we are trying to verify when we initiate the verification process
|
||||
*/
|
||||
const request = this._session?.crossSigning.get()?.receivedSASVerifications.get(id);
|
||||
const extraOptions = request ? { request } : { userId: id };
|
||||
Object.assign(options, extraOptions);
|
||||
|
Loading…
Reference in New Issue
Block a user