blob: ccbedd97245ea19bb3baf21f0754d049b06e5adf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include "apobject.h"
#include "apbase.h"
#include "fields.h"
#include <vector>
// APPost represents an ActivityPub Note Object
class APPost : public APObject {
public:
APPost();
// A post that will be built from strings, including attachments
APPost(APObjectFields fields);
~APPost() {};
QString get_html_render(HtmlRenderDetails render_info);
protected:
bool is_sensitive = false;
QString summary; // content warning
QStringList languages;
QString content;
QString get_html_status_languages();
};
|