|
|
@@ -100,7 +100,7 @@ class Chatter {
|
|
100
|
100
|
this.provider = await setupPubnub(this.uuid)
|
|
101
|
101
|
|
|
102
|
102
|
// step 1: build the this.groupings object from the backend
|
|
103
|
|
- // added .then() to wait for the groupings to be fetched before subscribing to channels
|
|
|
103
|
+ // ? .then() to wait for the groupings to be fetched before subscribing to channels
|
|
104
|
104
|
this.getGroupingsByProfileId(this.uuid).then(() => {
|
|
105
|
105
|
this._listenFor({ listeners: this.listeners })
|
|
106
|
106
|
this._subscribe(this.subscriptions)
|