#ifndef MESSAGE_H_
#define MESSAGE_H_
-#include <QString>
+#include <QCoreApplication>
#include <QDateTime>
#include "bufferinfo.h"
Topic = 0x04000,
NetsplitJoin = 0x08000,
NetsplitQuit = 0x10000,
+ Invite = 0x20000,
};
// DO NOT CHANGE without knowing what you do, some of these flags are stored in the database
Message(const QDateTime &ts, const BufferInfo &buffer = BufferInfo(), Type type = Plain,
const QString &contents = "", const QString &sender = "", Flags flags = None);
- inline static Message ChangeOfDay(const QDateTime &day) { return Message(day, BufferInfo(), DayChange, tr("Day changed to %1").arg(day.toString("dddd MMMM d yyyy"))); }
+ inline static Message ChangeOfDay(const QDateTime &day) { return Message(day, BufferInfo(), DayChange); }
inline const MsgId &msgId() const { return _msgId; }
inline void setMsgId(MsgId id) { _msgId = id; }