diff options
Diffstat (limited to 'include/erebos/message.h')
-rw-r--r-- | include/erebos/message.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/erebos/message.h b/include/erebos/message.h index 0b5e257..c94e8c3 100644 --- a/include/erebos/message.h +++ b/include/erebos/message.h @@ -14,9 +14,9 @@ class Identity; class DirectMessage { public: - const Identity & from() const; - const struct ZonedTime & time() const; - const std::string & text() const; + const std::optional<Identity> & from() const; + const std::optional<struct ZonedTime> & time() const; + std::string text() const; private: friend class DirectMessageThread; |