aboutsummaryrefslogtreecommitdiff
path: root/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'server.py')
-rw-r--r--server.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/server.py b/server.py
index 18fa263..244fa53 100644
--- a/server.py
+++ b/server.py
@@ -104,8 +104,6 @@ class fuwuqi(SimpleHTTPRequestHandler):
# C2S
collection_append(username, 'outbox', activity)
# Clients responsible for addressing activity
- if type(activity['to']) is not list:
- activity['to'] = [activity['to']]
for to in activity['to']:
if 'followers' in to or to == 'https://www.w3.org/ns/activitystreams#Public':
with open(f'users/{username}.followers') as f: