From ca5bac38165b8f8ee735c6ce70eaa202b6e50ce4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 25 Aug 2020 22:51:30 +0100 Subject: [PATCH] Events feed --- daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index fc1ba1e5..c2e27421 100644 --- a/daemon.py +++ b/daemon.py @@ -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')