FIX: Removes obsolete code that creates twin entries in composer's tribute component.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
pull/777/head
Cyrille Bollu 2019-10-02 16:34:16 +02:00
rodzic 7c4925da7a
commit 1138191342
1 zmienionych plików z 0 dodań i 9 usunięć

Wyświetl plik

@ -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({