fix socket
This commit is contained in:
parent
d0fb8bcf85
commit
f31a9a42da
3 changed files with 4 additions and 4 deletions
|
|
@ -156,7 +156,7 @@ export default {
|
|||
}
|
||||
}
|
||||
},
|
||||
shout() {
|
||||
shoutJoined() {
|
||||
return useShoutStore().joined
|
||||
},
|
||||
isChats() {
|
||||
|
|
|
|||
|
|
@ -60,8 +60,8 @@
|
|||
/>
|
||||
</div>
|
||||
<MediaModal />
|
||||
<shout-panel
|
||||
v-if="currentUser && shout && !hideShoutbox"
|
||||
<ShoutPanel
|
||||
v-if="currentUser && !hideShoutbox && shoutJoined"
|
||||
:floating="true"
|
||||
class="floating-shout mobile-hidden"
|
||||
:class="{ '-left': shoutboxPosition }"
|
||||
|
|
|
|||
|
|
@ -345,7 +345,7 @@ const api = {
|
|||
// Set up websocket connection
|
||||
const token = state.wsToken
|
||||
if (
|
||||
useInstanceStore().shoutAvailable &&
|
||||
useInstanceCapabilitiesStore().shoutAvailable &&
|
||||
typeof token !== 'undefined' &&
|
||||
state.socket === null
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue