aboutsummaryrefslogtreecommitdiff
path: root/include/BodyItem.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-04 00:30:06 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-04 00:30:06 +0200
commitdd4573e05cdfa2d9b99ef7a49c99e27c201da3e9 (patch)
tree6499b368a168b7a61c33b3588696c253ce5c9a34 /include/BodyItem.hpp
parent3f0421bea6b37d81d2d66c001b0fac2df91dd702 (diff)
Matrix: fix messages that dont mention us being added to notifications list. Also fix read status for notifications
Diffstat (limited to 'include/BodyItem.hpp')
-rw-r--r--include/BodyItem.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/BodyItem.hpp b/include/BodyItem.hpp
index 728c2b0..1d967b5 100644
--- a/include/BodyItem.hpp
+++ b/include/BodyItem.hpp
@@ -71,7 +71,7 @@ namespace QuickMedia {
}
// |new_timestamp| is in milliseconds
- void set_timestamp(time_t new_timestamp) {
+ void set_timestamp(int64_t new_timestamp) {
if(new_timestamp == timestamp)
return;
timestamp = new_timestamp;
@@ -116,7 +116,7 @@ namespace QuickMedia {
const std::string& get_description() const { return description; }
const std::string& get_author() const { return author; }
// In milliseconds
- time_t get_timestamp() const { return timestamp; }
+ int64_t get_timestamp() const { return timestamp; }
sf::Color get_title_color() const { return title_color; }
sf::Color get_description_color() const { return description_color; }
@@ -165,7 +165,7 @@ namespace QuickMedia {
std::string title;
std::string description;
std::string author;
- time_t timestamp;
+ int64_t timestamp;
sf::Color title_color;
sf::Color author_color;
sf::Color description_color;