diff options
Diffstat (limited to 'src/message.h')
-rw-r--r-- | src/message.h | 8 |
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 |