Event backend porting
[quassel.git] / src / common / message.h
index b5d52a4..96ac10e 100644 (file)
@@ -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; }