projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: Implement account-tag
[quassel.git]
/
src
/
common
/
irccap.h
diff --git
a/src/common/irccap.h
b/src/common/irccap.h
index
f378a78
..
0bcb66d
100644
(file)
--- a/
src/common/irccap.h
+++ b/
src/common/irccap.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-20
19
by the Quassel Project *
+ * Copyright (C) 2005-20
20
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-48,6
+48,13
@@
namespace IrcCap {
*/
const uint ACCOUNT_NOTIFY_WHOX_NUM = 369;
*/
const uint ACCOUNT_NOTIFY_WHOX_NUM = 369;
+ /**
+ * Send account information as a tag with all commands sent by a user.
+ *
+ * http://ircv3.net/specs/extensions/account-notify-3.1.html
+ */
+ const QString ACCOUNT_TAG = "account-tag";
+
/**
* Away change notification.
*
/**
* Away change notification.
*
@@
-79,6
+86,13
@@
namespace IrcCap {
*/
const QString EXTENDED_JOIN = "extended-join";
*/
const QString EXTENDED_JOIN = "extended-join";
+ /**
+ * Additional metadata on a per-message basis
+ *
+ * https://ircv3.net/specs/extensions/message-tags
+ */
+ const QString MESSAGE_TAGS = "message-tags";
+
/**
* Multiple mode prefixes in MODE and WHO replies.
*
/**
* Multiple mode prefixes in MODE and WHO replies.
*
@@
-93,6
+107,13
@@
namespace IrcCap {
*/
const QString SASL = "sasl";
*/
const QString SASL = "sasl";
+ /**
+ * Allows updating realname without reconnecting
+ *
+ * https://ircv3.net/specs/extensions/setname
+ */
+ const QString SETNAME = "setname";
+
/**
* Userhost in names replies.
*
/**
* Userhost in names replies.
*
@@
-141,12
+162,15
@@
namespace IrcCap {
* List of capabilities currently implemented and requested during capability negotiation.
*/
const QStringList knownCaps = QStringList{ACCOUNT_NOTIFY,
* List of capabilities currently implemented and requested during capability negotiation.
*/
const QStringList knownCaps = QStringList{ACCOUNT_NOTIFY,
+ ACCOUNT_TAG,
AWAY_NOTIFY,
CAP_NOTIFY,
CHGHOST,
EXTENDED_JOIN,
AWAY_NOTIFY,
CAP_NOTIFY,
CHGHOST,
EXTENDED_JOIN,
+ MESSAGE_TAGS,
MULTI_PREFIX,
SASL,
MULTI_PREFIX,
SASL,
+ SETNAME,
USERHOST_IN_NAMES,
SERVER_TIME,
Vendor::TWITCH_MEMBERSHIP,
USERHOST_IN_NAMES,
SERVER_TIME,
Vendor::TWITCH_MEMBERSHIP,