From 1138191342afdccfb02563dda6be863377dec369 Mon Sep 17 00:00:00 2001 From: Cyrille Bollu Date: Wed, 2 Oct 2019 16:34:16 +0200 Subject: [PATCH] FIX: Removes obsolete code that creates twin entries in composer's tribute component. Signed-off-by: Cyrille Bollu --- src/components/Composer.vue | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/components/Composer.vue b/src/components/Composer.vue index 1a4e680d..5f7ccd53 100644 --- a/src/components/Composer.vue +++ b/src/components/Composer.vue @@ -446,15 +446,6 @@ export default { cb(users) } this.remoteSearchAccounts(text).then((result) => { - if (result.data.result.exact) { - let user = result.data.result.exact - users.push({ - key: user.preferredUsername, - value: user.account, - url: user.url, - avatar: user.local ? OC.generateUrl(`/avatar/${user.preferredUsername}/32`) : ''// TODO: use real avatar from server - }) - } for (var i in result.data.result.accounts) { let user = result.data.result.accounts[i] users.push({