Sombrero uses "inbox_url" rather than "inbox" on Trilby's Persons.

This should have been in commit 66373041, but it wasn't.
status-serialisers
Marnanel Thurman 2020-09-16 01:09:02 +01:00
rodzic 66373041e7
commit 5539aec729
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -291,9 +291,9 @@ def deliver(
for target in target_people:
logger.debug("outgoing %s: person %s has inbox %s",
message.pk, target, target.inbox)
message.pk, target, target.inbox_url)
postie.send_to(target.inbox)
postie.send_to(target.inbox_url)
for following in target_followers_of:
@ -304,7 +304,7 @@ def deliver(
logger.debug("outgoing %s: -- to %s",
message.pk, follower)
postie.send_to(follower.inbox)
postie.send_to(follower.inbox_url)
logger.debug('outgoing %s: message posted to all inboxes',
message.pk)

Wyświetl plik

@ -345,7 +345,7 @@ class TestFetchRemoteUser(TestCase):
)
self.assertEqual(
user.inbox,
user.inbox_url,
'https://example.org/inbox',
)