summaryrefslogtreecommitdiff
path: root/src/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.h')
-rw-r--r--src/message.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/message.h b/src/message.h
index 7e0f597..c4a3549 100644
--- a/src/message.h
+++ b/src/message.h
@@ -19,13 +19,13 @@ namespace erebos {
struct DirectMessageData
{
- static optional<DirectMessageData> load(const Ref &);
+ static DirectMessageData load(const Ref &);
Ref store(const Storage &) const;
vector<Stored<DirectMessageData>> prev;
- Identity from;
- ZonedTime time;
- string text;
+ optional<Identity> from;
+ optional<ZonedTime> time;
+ optional<string> text;
};
struct DirectMessage::Priv