You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
clarify comment
This commit is contained in:
@@ -1931,8 +1931,8 @@ MatrixBaseApis.prototype.identityHashedLookup = async function(
|
|||||||
const addr = p[0].toLowerCase(); // lowercase to get consistent hashes
|
const addr = p[0].toLowerCase(); // lowercase to get consistent hashes
|
||||||
const med = p[1].toLowerCase();
|
const med = p[1].toLowerCase();
|
||||||
const unhashed = `${addr} ${med}`;
|
const unhashed = `${addr} ${med}`;
|
||||||
// Map the ""hash"" to a known (case-sensitive) address. We use the case
|
// Map the unhashed values to a known (case-sensitive) address. We use
|
||||||
// sensitive version because the caller might be expecting that.
|
// the case sensitive version because the caller might be expecting that.
|
||||||
localMapping[unhashed] = p[0];
|
localMapping[unhashed] = p[0];
|
||||||
return unhashed;
|
return unhashed;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user