Pārlūkot izejas kodu

:alert: ready for merge

tags/0.0.1^2
K Rob 3 gadus atpakaļ
vecāks
revīzija
df09cee84b

+ 1
- 1
frontend/src/components/ProfileCardList.vue Parādīt failu

@@ -114,7 +114,7 @@ const chat = async pid => {
114 114
     
115 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 118
         title: 'New Message',
119 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 Parādīt failu

@@ -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)

Notiek ielāde…
Atcelt
Saglabāt