|
|
@@ -107,13 +107,13 @@ const view = pid => {
|
|
107
|
107
|
}
|
|
108
|
108
|
const chat = async pid => {
|
|
109
|
109
|
const chatter = currentProfile.chatter
|
|
110
|
|
- console.log('chatter', chatter)
|
|
|
110
|
+ console.log('mock sender:', pid)
|
|
111
|
111
|
const res = await chatter.publish(chatter.subscriptions[0], {
|
|
112
|
112
|
title: 'pong',
|
|
113
|
113
|
description: 'This is my first realtime message!',
|
|
114
|
114
|
})
|
|
115
|
|
- console.log('chatter', res)
|
|
116
|
|
- console.log('chatter', chatter.subscriptions)
|
|
|
115
|
+ console.log('res:', res)
|
|
|
116
|
+ console.log('channels:', chatter.subscriptions)
|
|
117
|
117
|
//router.push({ path: `/chat/${pid}` })
|
|
118
|
118
|
}
|
|
119
|
119
|
const pass = () => {
|