Fix access to safety number view from group members screen

This commit is contained in:
Scott Nonnenberg 2019-09-05 11:18:44 -07:00 committed by Ken Powers
parent 3d8006a54f
commit 35e943e817
2 changed files with 3 additions and 3 deletions

View file

@ -54,9 +54,9 @@
this.loading = true; this.loading = true;
this.render(); this.render();
const view = new Whisper.KeyVerificationPanelView({ this.panelView = new Whisper.KeyVerificationPanelView({
model: this.model, model: this.model,
onLoad: () => { onLoad: view => {
this.loading = false; this.loading = false;
this.listenBack(view); this.listenBack(view);
this.render(); this.render();

View file

@ -25,7 +25,7 @@
this.render(); this.render();
if (options.onLoad) { if (options.onLoad) {
options.onLoad(); options.onLoad(this);
} }
this.loadKeys().then(() => { this.loadKeys().then(() => {