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
path: root/src
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-08-30 17:15:52 +0300
committerJoas Schilling <coding@schilljs.com>2021-08-30 17:15:52 +0300
commit6b6778129ad5b357db284b570b841f605595767e (patch)
tree58d213728c5b6162e752e8c2cc903391497479cf /src
parentd0ec78e78e8bd8e7f5117c9417f2bea66c15b92a (diff)
Remove nested docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src')
-rw-r--r--src/store/messagesStore.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/store/messagesStore.js b/src/store/messagesStore.js
index 8e1541d8d..221ae5bd6 100644
--- a/src/store/messagesStore.js
+++ b/src/store/messagesStore.js
@@ -141,27 +141,12 @@ const getters = {
}
return []
},
- /**
- * Gets the messages object
- *
- * @param {object} state the state object.
- * @param {string} token the conversation token.
- * @return {object} the messages object (if there are messages in the store)
- */
messages: (state) => (token) => {
if (state.messages[token]) {
return state.messages[token]
}
return {}
},
- /**
- * Gets a single message object
- *
- * @param {object} state the state object.
- * @param {string} token the conversation token.
- * @param {string} id the message id.
- * @return {object} the message object (if the message is found in the store)
- */
message: (state) => (token, id) => {
if (state.messages[token][id]) {
return state.messages[token][id]