forked from KayFaraday/pleroma-ebooks
fix Pleroma.reply() not tagging
This commit is contained in:
parent
e273a28aae
commit
36a416da7a
|
@ -87,7 +87,7 @@ class Pleroma:
|
||||||
if account['id'] != user_id and account['id'] not in mentioned_accounts:
|
if account['id'] != user_id and account['id'] not in mentioned_accounts:
|
||||||
mentioned_accounts[account.id] = account.acct
|
mentioned_accounts[account.id] = account.acct
|
||||||
|
|
||||||
status = ''.join('@' + x + ' ' for x in mentioned_accounts.values()) + content
|
content = ''.join('@' + x + ' ' for x in mentioned_accounts.values()) + content
|
||||||
|
|
||||||
visibility = 'unlisted' if to_status['visibility'] == 'public' else to_status['visibility']
|
visibility = 'unlisted' if to_status['visibility'] == 'public' else to_status['visibility']
|
||||||
if cw is None and 'spoiler_text' in to_status and to_status['spoiler_text']:
|
if cw is None and 'spoiler_text' in to_status and to_status['spoiler_text']:
|
||||||
|
|
Loading…
Reference in New Issue