mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
Fix typos and comments
This commit is contained in:
parent
3308a7e374
commit
1747186843
@ -77,7 +77,6 @@ export class DeviceMessageHandler extends EventEmitter{
|
||||
}
|
||||
|
||||
async afterSyncCompleted(decryptionResults, deviceTracker, hsApi, log) {
|
||||
// this._emitEncryptedEvents(decryptionResults);
|
||||
await log.wrap("Verifying fingerprint of encrypted toDevice messages", async (log) => {
|
||||
for (const result of decryptionResults) {
|
||||
const sender = result.event.sender;
|
||||
|
@ -349,7 +349,7 @@ export class CrossSigning {
|
||||
}
|
||||
|
||||
async isOurUserDeviceTrusted(device: DeviceKey, log?: ILogItem): Promise<boolean> {
|
||||
return await this.platform.logger.wrapOrRun(log, "CrossSigning.getDeviceTrust", async (_log) => {
|
||||
return await this.platform.logger.wrapOrRun(log, "CrossSigning.isOurUserDeviceTrusted", async (_log) => {
|
||||
const ourSSK = await this.deviceTracker.getCrossSigningKeyForUser(this.ownUserId, KeyUsage.SelfSigning, this.hsApi, _log);
|
||||
if (!ourSSK) {
|
||||
return false;
|
||||
|
@ -30,7 +30,7 @@ export class MissingKeysView extends TemplateView<MissingKeysViewModel> {
|
||||
),
|
||||
t.p(
|
||||
{ className: "MissingKeysView__description" },
|
||||
vm.i18n`Some keys needed for verification is missing. You can fix this by enabling key backup in settings.`
|
||||
vm.i18n`Some keys needed for verification are missing. You can fix this by enabling key backup in settings.`
|
||||
),
|
||||
t.div({ className: "MissingKeysView__actions" }, [
|
||||
t.button({
|
||||
|
Loading…
Reference in New Issue
Block a user