Events feed

merge-requests/8/head
Bob Mottram 2020-08-25 22:51:30 +01:00
parent 8d6ece6649
commit ca5bac3816
1 changed files with 2 additions and 1 deletions

View File

@ -4895,7 +4895,7 @@ class PubServer(BaseHTTPRequestHandler):
else:
# don't need authenticated fetch here because
# there is already the authorization check
msg = json.dumps(inboxFeed,
msg = json.dumps(eventsFeed,
ensure_ascii=False)
msg = msg.encode('utf-8')
self._set_headers('application/json',
@ -6347,6 +6347,7 @@ class PubServer(BaseHTTPRequestHandler):
if not self.path.endswith('confirm'):
self.path = self.path.replace('/outbox/', '/outbox')
self.path = self.path.replace('/tlblogs/', '/tlblogs')
self.path = self.path.replace('/tlevents/', '/tlevents')
self.path = self.path.replace('/inbox/', '/inbox')
self.path = self.path.replace('/shares/', '/shares')
self.path = self.path.replace('/sharedInbox/', '/sharedInbox')