diff options
| author | 2019-09-11 13:46:21 +0100 | |
|---|---|---|
| committer | 2019-09-11 13:46:21 +0100 | |
| commit | 4639951897877ff0e7ece314c155ce025d7146c4 (patch) | |
| tree | 6f960c210abe0eff2013dd83b2f78cb0a13a54cc | |
| parent | inbox should have https:// on it (diff) | |
| signature | ||
make context/conversation a "valid" URI
| -rw-r--r-- | modules/fediverse_server.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/fediverse_server.py b/modules/fediverse_server.py index 28c66dfe..35e43024 100644 --- a/modules/fediverse_server.py +++ b/modules/fediverse_server.py @@ -138,10 +138,11 @@ class Module(ModuleManager.BaseModule): def _prepare_activity(self, url_for, self_id, activity_id, content, timestamp): activity_url = self._ap_activity_url(url_for, activity_id) + context = "data:%s" % activity_id return activity_url, { "attributedTo": self_id, "content": content, - "conversation": activity_id, "context": activity_id, + "conversation": context, "context": context, "id": activity_url, "url": activity_url, "published": timestamp, "summary": "", # content warning here |
