mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-26 01:01:00 +00:00
parent
90c7b615fd
commit
bcd48368b5
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,10 @@ class FanOutStates(StateGraph):
|
||||||
post=post,
|
post=post,
|
||||||
)
|
)
|
||||||
# We might have been mentioned
|
# We might have been mentioned
|
||||||
if fan_out.identity.id in mentioned:
|
if (
|
||||||
|
fan_out.identity.id in mentioned
|
||||||
|
and fan_out.identity_id != post.author_id
|
||||||
|
):
|
||||||
await sync_to_async(TimelineEvent.add_mentioned)(
|
await sync_to_async(TimelineEvent.add_mentioned)(
|
||||||
identity=fan_out.identity,
|
identity=fan_out.identity,
|
||||||
post=post,
|
post=post,
|
||||||
|
|
Loading…
Reference in a new issue