mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-14 18:54:27 +00:00
Bugfix announce dedup
This commit is contained in:
parent
2aa5865e1d
commit
9cbe608fc9
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ def _announce_set_inbox_flags(activity: ap.Announce, new_meta: _NewMeta) -> None
|
|||
if not find_one_activity(
|
||||
{
|
||||
**in_inbox(),
|
||||
**by_type([ap.ActivityType.CRETATE, ap.ActivityType.ANNOUNCE]),
|
||||
**by_type([ap.ActivityType.CREATE, ap.ActivityType.ANNOUNCE]),
|
||||
**by_object_id(obj.id),
|
||||
**flag(MetaKey.STREAM, True),
|
||||
**published_after(datetime.now(timezone.utc) - timedelta(hours=12)),
|
||||
|
|
Loading…
Reference in a new issue