fix attributeerror in mirror
This commit is contained in:
parent
285610667b
commit
4658143a9c
|
@ -109,7 +109,7 @@ class PostMirror:
|
||||||
assert None not in attachments
|
assert None not in attachments
|
||||||
|
|
||||||
await self._fedi.post(
|
await self._fedi.post(
|
||||||
post['source'].replace('@', '@\u200b'),
|
post['source']['content'].replace('@', '@\u200b'),
|
||||||
cw=post['summary'],
|
cw=post['summary'],
|
||||||
visibility='unlisted',
|
visibility='unlisted',
|
||||||
media_ids=attachments,
|
media_ids=attachments,
|
||||||
|
|
Loading…
Reference in New Issue