fix AttributeError in Pleroma.reply()
This commit is contained in:
parent
b5b4349d7f
commit
79301382cd
|
@ -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 New Issue