aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-08-02 16:25:43 +0100
committerGravatar jesopo2019-08-02 16:25:43 +0100
commit037f62ad4f249be344ef9ac9a2e8954127e75ab3 (patch)
treed2370bdca94bd5206ec066e124cf92f0fc3d07aa /modules
parentuse "id" not "url", support boosts (diff)
'Note' -> 'Create' for activity type
Diffstat (limited to 'modules')
-rw-r--r--modules/fediverse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fediverse.py b/modules/fediverse.py
index 9670a2ea..19c1ee6a 100644
--- a/modules/fediverse.py
+++ b/modules/fediverse.py
@@ -74,7 +74,7 @@ class Module(ModuleManager.BaseModule):
preferred_username, retooted_user, retoot_content,
shorturl))
- elif first_item["type"] == "Note":
+ elif first_item["type"] == "Create":
content = utils.http.strip_html(
first_item["object"]["content"])
url = first_itme["object"]["id"]