From ef99209d2c1a76c51483eeba31aaf480cb03d0a7 Mon Sep 17 00:00:00 2001 From: Kay Faraday Date: Sat, 2 Jul 2022 22:53:55 +0000 Subject: [PATCH] escape mentions --- mirror_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirror_bot.py b/mirror_bot.py index cc5e609..8f74544 100755 --- a/mirror_bot.py +++ b/mirror_bot.py @@ -117,7 +117,7 @@ class PostMirror: assert None not in attachments await self._fedi.post( - post['source'], + post['source'].replace('@', '@\u200b'), cw=post['summary'], visibility='unlisted', media_ids=attachments,