aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-11 22:34:42 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-11 22:34:42 +0200
commitf1063e25a55aec5a8f7b294d0392dd31d5bf9813 (patch)
treef529b443ef1aab8404638f375e461af540e75cec /include
parenta627a1fedd8d8a727d881f7e6c9e03c731dcfafd (diff)
4chan: show the replied to messages when navigating replies
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index b50b695..3d8167a 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -139,6 +139,8 @@ namespace QuickMedia {
std::unique_ptr<Text> author_text;
std::unique_ptr<sf::Text> timestamp_text; // TODO: Remove
// Used by image boards for example. The elements are indices to other body items
+ std::vector<size_t> replies_to;
+ // Used by image boards for example. The elements are indices to other body items
std::vector<size_t> replies;
std::string post_number;
void *userdata; // Not managed, should be deallocated by whoever sets this