fix AttributeError in Pleroma.reply()
This commit is contained in:
parent
b5b4349d7f
commit
79301382cd
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class Pleroma:
|
|||
mentioned_accounts[to_status['account']['id']] = to_status['account']['acct']
|
||||
for account in to_status['mentions']:
|
||||
if account['id'] != user_id and account['id'] not in mentioned_accounts:
|
||||
mentioned_accounts[account.id] = account.acct
|
||||
mentioned_accounts[account['id']] = account['acct']
|
||||
|
||||
content = ''.join('@' + x + ' ' for x in mentioned_accounts.values()) + content
|
||||
|
||||
|
|
Loading…
Reference in a new issue