kopia lustrzana https://github.com/nextcloud/social
FIX: Removes obsolete code that creates twin entries in composer's tribute component.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>pull/777/head
rodzic
7c4925da7a
commit
1138191342
|
@ -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({
|
||||
|
|
Ładowanie…
Reference in New Issue