1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

clarify comment

This commit is contained in:
Travis Ralston
2019-09-09 14:44:51 -06:00
parent 0bbc781d0c
commit 07af333943

View File

@@ -1931,8 +1931,8 @@ MatrixBaseApis.prototype.identityHashedLookup = async function(
const addr = p[0].toLowerCase(); // lowercase to get consistent hashes
const med = p[1].toLowerCase();
const unhashed = `${addr} ${med}`;
// Map the ""hash"" to a known (case-sensitive) address. We use the case
// sensitive version because the caller might be expecting that.
// Map the unhashed values to a known (case-sensitive) address. We use
// the case sensitive version because the caller might be expecting that.
localMapping[unhashed] = p[0];
return unhashed;
});