kopia lustrzana https://github.com/nextcloud/social
FIX: Removes a superfluous '@' in a message's 'to' array.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>pull/731/head
rodzic
7964820ef3
commit
0e67827a48
|
|
@ -798,7 +798,7 @@ export default {
|
|||
// Validate the last mention only when it matches a single account
|
||||
if (result.data.result.accounts.length === 1) {
|
||||
postData.content = postData.content.replace(regex, '@' + result.data.result.accounts[0].account)
|
||||
postData.to.push('@' + result.data.result.accounts[0].account)
|
||||
postData.to.push(result.data.result.accounts[0].account)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue