Skip to content
This repository was archived by the owner on Mar 6, 2020. It is now read-only.

Commit 28de2c1

Browse files
committed
guest: disable walkthrough entirely when using ExtPlug
1 parent dc2ae67 commit 28de2c1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/plugins/GuestPlugin.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { around } from 'meld';
33
import Plugin from '../Plugin';
44
import Events from 'plug/core/Events';
55
import SaveSettingsAction from 'plug/actions/users/SaveSettingsAction';
6+
import currentUser from 'plug/models/currentUser';
67
import Lang from 'lang/Lang';
78

89
const GuestPlugin = Plugin.extend({
@@ -119,6 +120,7 @@ const GuestPlugin = Plugin.extend({
119120

120121
skipWalkthrough() {
121122
const roomView = this.ext.appView.room;
123+
currentUser.off('change:walkthrough', roomView.onWTChange);
122124
roomView.onWTFinish();
123125
},
124126

0 commit comments

Comments
 (0)