Add support for CW, and tweak the new note form for mobile

This commit is contained in:
Thomas Sileo
2019-09-08 09:51:30 +02:00
parent ae809cc46d
commit 30eb21203c
2 changed files with 5 additions and 2 deletions

View File

@@ -432,6 +432,7 @@ def api_new_note() -> _Response:
attributedTo=MY_PERSON.id,
cc=list(set(cc)),
to=list(set(to)),
summary=_user_api_arg("summary", default=""),
content=content,
tag=tags,
source={"mediaType": "text/markdown", "content": source},