Преглед изворни кода

:alert: ready for merge

tags/0.0.1^2
K Rob пре 3 година
родитељ
комит
df09cee84b
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1
    1
      frontend/src/components/ProfileCardList.vue
  2. 1
    1
      frontend/src/services/chat.service.js

+ 1
- 1
frontend/src/components/ProfileCardList.vue Прегледај датотеку

114
     
114
     
115
     /**  publish a new message to the chatter with the channel and the message & title is optional
115
     /**  publish a new message to the chatter with the channel and the message & title is optional
116
      */
116
      */
117
-    const res = await chatter.publish(chatter.subscriptions[0], {
117
+    const res = await chatter.publish(chatter.subscriptions[1], {
118
         title: 'New Message',
118
         title: 'New Message',
119
         description: 'This is the checking to see if we are subscribed to a channel!',
119
         description: 'This is the checking to see if we are subscribed to a channel!',
120
     })
120
     })

+ 1
- 1
frontend/src/services/chat.service.js Прегледај датотеку

100
         this.provider = await setupPubnub(this.uuid)
100
         this.provider = await setupPubnub(this.uuid)
101
             
101
             
102
         //  step 1: build the this.groupings object from the backend
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
         this.getGroupingsByProfileId(this.uuid).then(() => {
104
         this.getGroupingsByProfileId(this.uuid).then(() => {
105
             this._listenFor({ listeners: this.listeners })
105
             this._listenFor({ listeners: this.listeners })
106
             this._subscribe(this.subscriptions)
106
             this._subscribe(this.subscriptions)

Loading…
Откажи
Сачувај