Skip to content
Snippets Groups Projects
Unverified Commit fc7195ee authored by Diego Sampaio's avatar Diego Sampaio
Browse files

Merge branch 'AlecTroemel-github-autorun-fix' into develop

parents 77aa3943 321c056f
No related branches found
No related tags found
No related merge requests found
......@@ -24,12 +24,11 @@ this.Livechat = new (class Livechat {
this._department = new ReactiveVar(null);
Tracker.autorun((c) => {
Tracker.autorun(() => {
if (this._room.get() && Meteor.userId()) {
RoomHistoryManager.getMoreIfIsEmpty(this._room.get());
visitor.subscribeToRoom(this._room.get());
visitor.setRoom(this._room.get());
c.stop();
}
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment