X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Firccap.h;h=3d1e793d122c96dc6080b3f2ad187a6021b0a14c;hb=48017b680ede0dbfb121d1184dfbd13536cfc53f;hp=af7d0ab848cea6025caa364e98f0a98870c04a52;hpb=4e40c486dea949244b73beaf73d5ceb1ef591b5b;p=quassel.git diff --git a/src/common/irccap.h b/src/common/irccap.h index af7d0ab8..3d1e793d 100644 --- a/src/common/irccap.h +++ b/src/common/irccap.h @@ -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. * @@ -72,6 +79,13 @@ namespace IrcCap { */ const QString CHGHOST = "chghost"; + /** + * Server sending own messages back. + * + * https://ircv3.net/specs/extensions/echo-message-3.2.html + */ + const QString ECHO_MESSAGE = "echo-message"; + /** * Extended join information. * @@ -79,6 +93,20 @@ namespace IrcCap { */ const QString EXTENDED_JOIN = "extended-join"; + /** + * Standardized invite notifications. + * + * https://ircv3.net/specs/extensions/invite-notify-3.2 + */ + const QString INVITE_NOTIFY = "invite-notify"; + + /** + * 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. * @@ -148,10 +176,14 @@ 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, + //ECHO_MESSAGE, // Postponed for message pending UI with batch + labeled-response EXTENDED_JOIN, + INVITE_NOTIFY, + MESSAGE_TAGS, MULTI_PREFIX, SASL, SETNAME,