'Note' -> 'Create' for activity type

This commit is contained in:
jesopo 2019-08-02 16:25:43 +01:00
parent b58c0f8b59
commit 037f62ad4f

View file

@ -74,7 +74,7 @@ class Module(ModuleManager.BaseModule):
preferred_username, retooted_user, retoot_content, preferred_username, retooted_user, retoot_content,
shorturl)) shorturl))
elif first_item["type"] == "Note": elif first_item["type"] == "Create":
content = utils.http.strip_html( content = utils.http.strip_html(
first_item["object"]["content"]) first_item["object"]["content"])
url = first_itme["object"]["id"] url = first_itme["object"]["id"]