Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Ambrosini <marcoambrosini@pm.me>2021-06-14 18:03:51 +0300
committerJoas Schilling <coding@schilljs.com>2021-06-17 17:48:26 +0300
commit2f2b6b9679efd3c7f262499a31f9058b2a7f03c5 (patch)
treec8b5097ab8031d2c36aec3a844c5234209364c13 /src/store/messagesStore.js
parent29b2dd55ac8d7d593d0a1fb0b4bf09e01137ee42 (diff)
Lint fix
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Diffstat (limited to 'src/store/messagesStore.js')
-rw-r--r--src/store/messagesStore.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/store/messagesStore.js b/src/store/messagesStore.js
index ddcb35875..149bd00c3 100644
--- a/src/store/messagesStore.js
+++ b/src/store/messagesStore.js
@@ -479,7 +479,7 @@ const actions = {
return
}
// set the id to the last message
- context.dispatch('updateLastReadMessage', { token, id: conversation.lastMessage.id, updateVisually: updateVisually })
+ context.dispatch('updateLastReadMessage', { token, id: conversation.lastMessage.id, updateVisually })
context.dispatch('markConversationRead', token)
},
@@ -560,7 +560,7 @@ const actions = {
if (response.headers['x-chat-last-given']) {
context.dispatch('setFirstKnownMessageId', {
- token: token,
+ token,
id: parseInt(response.headers['x-chat-last-given'], 10),
})
}
@@ -644,8 +644,8 @@ const actions = {
const conversation = context.getters.conversation(token)
if (conversation && conversation.lastMessage && lastMessage.id > conversation.lastMessage.id) {
context.dispatch('updateConversationLastMessage', {
- token: token,
- lastMessage: lastMessage,
+ token,
+ lastMessage,
})
}