From 79301382cd98ee33413f4735f8e2a99cbcf5dde1 Mon Sep 17 00:00:00 2001 From: io Date: Fri, 18 Jun 2021 09:05:55 +0000 Subject: [PATCH] fix AttributeError in Pleroma.reply() --- pleroma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pleroma.py b/pleroma.py index c31f67d..d95ba13 100644 --- a/pleroma.py +++ b/pleroma.py @@ -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