+Message::Message(const BufferInfo &bufferInfo, Type type, const QString &contents, const QString &sender, Flags flags)
+ : _timestamp(QDateTime::currentDateTime().toUTC()),
+ _bufferInfo(bufferInfo),
+ _contents(contents),
+ _sender(sender),
+ _type(type),
+ _flags(flags)
+{
+}
+
+Message::Message(const QDateTime &ts, const BufferInfo &bufferInfo, Type type, const QString &contents, const QString &sender, Flags flags)
+ : _timestamp(ts),
+ _bufferInfo(bufferInfo),
+ _contents(contents),
+ _sender(sender),
+ _type(type),
+ _flags(flags)
+{
+}
+