conversation view works
This commit is contained in:
parent
9f9a83a56a
commit
4cbc3d3aa1
3 changed files with 118 additions and 63 deletions
|
|
@ -86,7 +86,9 @@ export const useStreamingStore = defineStore('streaming', {
|
|||
|
||||
this.subscribers.add(subscriber)
|
||||
if (this.state === WSConnectionStatus.JOINED) {
|
||||
this.socket.subscribe(...this.getSubArgs(stream))
|
||||
if (stream) {
|
||||
this.socket.subscribe(...this.getSubArgs(stream))
|
||||
}
|
||||
et.dispatchEvent(new StreamStateEvent('open'))
|
||||
}
|
||||
},
|
||||
|
|
@ -171,6 +173,7 @@ export const useStreamingStore = defineStore('streaming', {
|
|||
case 'delete':
|
||||
return [data.id]
|
||||
default:
|
||||
console.log('UNKNOWN', eventName, eventStream, data)
|
||||
return data
|
||||
}
|
||||
})()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue