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:
authorJoas Schilling <coding@schilljs.com>2021-08-23 16:47:50 +0300
committerJoas Schilling <coding@schilljs.com>2021-08-23 16:47:50 +0300
commit228aeb4dd17c89b6698b6d28aea91873147df55c (patch)
tree0287f2555a4a911bce74e369ff37dc3f4179dc39 /src/components/NewMessageForm
parent4891e8017f4d4e837a7cde52c164abc61c1a72a7 (diff)
Autofixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/components/NewMessageForm')
-rw-r--r--src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue7
-rw-r--r--src/components/NewMessageForm/NewMessageForm.vue9
2 files changed, 8 insertions, 8 deletions
diff --git a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue
index eae9624c5..c54995088 100644
--- a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue
+++ b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue
@@ -107,7 +107,7 @@ import debounce from 'debounce'
* vue-at component or not.
*
* @param {CSSStyleSheet} sheet the style sheet to check.
- * @returns {Boolean} True if it is the style sheet from vue-at, false
+ * @return {boolean} True if it is the style sheet from vue-at, false
* otherwise.
*/
function isDefaultAtWhoStyleSheet(sheet) {
@@ -281,7 +281,8 @@ export default {
* The vue-at library only searches in the display name by default.
* But luckily our server responds already only with matching items,
* so we just filter none and show them all.
- * @returns {boolean} True as we never filter anything out
+ *
+ * @return {boolean} True as we never filter anything out
*/
atFilter() {
return true
@@ -347,7 +348,7 @@ export default {
* Sets the autocomplete mention candidates based on the matched text
* after the "@".
*
- * @param {String} chunk the matched text to look candidate mentions for.
+ * @param {string} chunk the matched text to look candidate mentions for.
*/
handleAtEvent: debounce(function(chunk) {
this.queryPossibleMentions(chunk)
diff --git a/src/components/NewMessageForm/NewMessageForm.vue b/src/components/NewMessageForm/NewMessageForm.vue
index d506e6c60..ea426b765 100644
--- a/src/components/NewMessageForm/NewMessageForm.vue
+++ b/src/components/NewMessageForm/NewMessageForm.vue
@@ -185,7 +185,7 @@ export default {
/**
* The current conversation token
*
- * @returns {String}
+ * @return {string}
*/
token() {
return this.$store.getters.getToken()
@@ -314,8 +314,8 @@ export default {
*
* The parsed text is also trimmed.
*
- * @param {String} text the raw text
- * @returns {String} the parsed text
+ * @param {string} text the raw text
+ * @return {string} the parsed text
*/
rawToParsed(text) {
text = text.replace(/<br>/g, '\n')
@@ -397,7 +397,7 @@ export default {
async handleFileShare() {
picker.pick()
- .then(async(path) => {
+ .then(async (path) => {
console.debug(`path ${path} selected for sharing`)
if (!path.startsWith('/')) {
throw new Error(t('files', 'Invalid path selected'))
@@ -440,7 +440,6 @@ export default {
* @param {File[] | FileList} files pasted files list
* @param {bool} rename whether to rename the files
* @param {bool} isVoiceMessage indicates whether the file is a vooicemessage
-
*/
async handleFiles(files, rename = false, isVoiceMessage) {
// Create a unique id for the upload operation