X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Firccap.h;h=0bcb66d253fd64e68d696fa2954b96b50c46769c;hb=d778861aa194578cd90e019b64fe285ea58746c4;hp=f378a78e32314774d378aee23dcb28eac4c7c239;hpb=e38846f054ad1766f2e91992a57bbaffd33c7c06;p=quassel.git diff --git a/src/common/irccap.h b/src/common/irccap.h index f378a78e..0bcb66d2 100644 --- a/src/common/irccap.h +++ b/src/common/irccap.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * 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; + /** + * 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. * @@ -79,6 +86,13 @@ namespace IrcCap { */ 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. * @@ -93,6 +107,13 @@ namespace IrcCap { */ const QString SASL = "sasl"; + /** + * Allows updating realname without reconnecting + * + * https://ircv3.net/specs/extensions/setname + */ + const QString SETNAME = "setname"; + /** * 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, + ACCOUNT_TAG, AWAY_NOTIFY, CAP_NOTIFY, CHGHOST, EXTENDED_JOIN, + MESSAGE_TAGS, MULTI_PREFIX, SASL, + SETNAME, USERHOST_IN_NAMES, SERVER_TIME, Vendor::TWITCH_MEMBERSHIP,