Commit de5e56fb authored by kaniini's avatar kaniini

post: add m_is_sensitive to the serializer

parent 24805787
......@@ -167,6 +167,7 @@ QJsonDocument Post::toJsonDocument()
obj["spoiler_text"] = m_subject;
obj["status"] = m_content;
obj["sensitive"] = m_is_sensitive;
obj["visibility"] = vis_to_str[m_visibility];
if (! m_reply_target_id.isEmpty ())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment