mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2025-06-05 21:59:23 +02:00
Compare commits
4 Commits
test-fix-t
...
2.0.0-rc.9
Author | SHA1 | Date | |
---|---|---|---|
e30e0de10e | |||
e672d9b9f0 | |||
dcd44ec3b6 | |||
71a4ea2425 |
3
AUTHORS
3
AUTHORS
@ -1,8 +1,9 @@
|
|||||||
Thomas Sileo <t@a4.io>
|
Thomas Sileo <t@a4.io>
|
||||||
Kevin Wallace <doof@doof.net>
|
Kevin Wallace <doof@doof.net>
|
||||||
Miguel Jacq <mig@mig5.net>
|
Miguel Jacq <mig@mig5.net>
|
||||||
Josh Washburne <josh@jodh.us>
|
|
||||||
Alexey Shpakovsky <alexey@shpakovsky.ru>
|
Alexey Shpakovsky <alexey@shpakovsky.ru>
|
||||||
|
Josh Washburne <josh@jodh.us>
|
||||||
|
Sam <samr1.dev@pm.me>
|
||||||
Ash McAllan <acegiak@gmail.com>
|
Ash McAllan <acegiak@gmail.com>
|
||||||
Cassio Zen <cassio@hey.com>
|
Cassio Zen <cassio@hey.com>
|
||||||
Cocoa <momijizukamori@gmail.com>
|
Cocoa <momijizukamori@gmail.com>
|
||||||
|
@ -427,7 +427,7 @@ async def _send_undo(db_session: AsyncSession, ap_object_id: str) -> None:
|
|||||||
announced_object.announced_via_outbox_object_ap_id = None
|
announced_object.announced_via_outbox_object_ap_id = None
|
||||||
|
|
||||||
# Send the Undo to the original recipients
|
# Send the Undo to the original recipients
|
||||||
recipients = await _compute_recipients(db_session, outbox_object.ap_object)
|
recipients = await _compute_recipients(db_session, announced_object.ap_object)
|
||||||
for rcp in recipients:
|
for rcp in recipients:
|
||||||
await new_outgoing_activity(db_session, rcp, outbox_object.id)
|
await new_outgoing_activity(db_session, rcp, outbox_object.id)
|
||||||
elif outbox_object_to_undo.ap_type == "Block":
|
elif outbox_object_to_undo.ap_type == "Block":
|
||||||
@ -1379,7 +1379,7 @@ async def _revert_side_effect_for_deleted_object(
|
|||||||
.values(likes_count=likes_count - 1)
|
.values(likes_count=likes_count - 1)
|
||||||
)
|
)
|
||||||
elif (
|
elif (
|
||||||
deleted_ap_object.ap_type == "Annouce"
|
deleted_ap_object.ap_type == "Announce"
|
||||||
and deleted_ap_object.activity_object_ap_id
|
and deleted_ap_object.activity_object_ap_id
|
||||||
):
|
):
|
||||||
related_object = await get_outbox_object_by_ap_id(
|
related_object = await get_outbox_object_by_ap_id(
|
||||||
|
@ -285,7 +285,6 @@ async def redirect_to_remote_instance(
|
|||||||
async def index(
|
async def index(
|
||||||
request: Request,
|
request: Request,
|
||||||
db_session: AsyncSession = Depends(get_db_session),
|
db_session: AsyncSession = Depends(get_db_session),
|
||||||
_: httpsig.HTTPSigInfo = Depends(httpsig.httpsig_checker),
|
|
||||||
page: int | None = None,
|
page: int | None = None,
|
||||||
) -> templates.TemplateResponse | ActivityPubResponse:
|
) -> templates.TemplateResponse | ActivityPubResponse:
|
||||||
if is_activitypub_requested(request):
|
if is_activitypub_requested(request):
|
||||||
|
Reference in New Issue
Block a user