X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fmessage.h;h=612757d535418fd7a1980d4cc0347fdce333f81d;hb=3456106b07bfc3000e50df9322ddefd4f872e0fb;hp=b5d52a4b5c1b31165b78350076f30b7657f31735;hpb=fd80315c076ede937f5d51ba6f8061a32d0107ec;p=quassel.git diff --git a/src/common/message.h b/src/common/message.h index b5d52a4b..612757d5 100644 --- a/src/common/message.h +++ b/src/common/message.h @@ -21,7 +21,7 @@ #ifndef MESSAGE_H_ #define MESSAGE_H_ -#include +#include #include #include "bufferinfo.h" @@ -50,6 +50,7 @@ public: 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 @@ -68,7 +69,7 @@ public: 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; }