Cleanup allowing for tags to be available at later points, adds TAGMSG
[quassel.git] / src / core / keyevent.h
index 393f4d2..c1c6cc2 100644 (file)
@@ -36,12 +36,13 @@ public:
 
     explicit KeyEvent(EventManager::EventType type,
                       Network* network,
-                      const QString& prefix,
+                      QHash<IrcTagKey, QString> tags,
+                      QString prefix,
                       QString target,
                       ExchangeType exchangeType,
                       QByteArray key,
                       const QDateTime& timestamp = QDateTime())
-        : IrcEvent(type, network, prefix)
+        : IrcEvent(type, network, std::move(tags), std::move(prefix))
         , _exchangeType(exchangeType)
         , _target(std::move(target))
         , _key(std::move(key))