fix chats
This commit is contained in:
parent
6417453719
commit
08ad92c53d
2 changed files with 7 additions and 1 deletions
|
|
@ -145,8 +145,12 @@
|
|||
:full-content="true"
|
||||
>
|
||||
<template #footer>
|
||||
<EmojiReactions :status="message" />
|
||||
<EmojiReactions
|
||||
v-if="isStatus"
|
||||
:status="message"
|
||||
/>
|
||||
<Quote
|
||||
v-if="isStatus"
|
||||
class="quoted-post"
|
||||
:status-id="quoteId"
|
||||
:status-url="quoteUrl"
|
||||
|
|
|
|||
|
|
@ -343,6 +343,8 @@ const Chat = {
|
|||
accountId: this.recipientId,
|
||||
credentials: useOAuthStore().token,
|
||||
})
|
||||
this.$store.commit('addNewUsers', [data.account])
|
||||
data.account = this.$store.getters.findUser(data.account.id)
|
||||
this.chat = data
|
||||
} catch (e) {
|
||||
console.error('Error creating or getting a chat', e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue