X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Firccap.h;h=e1615f7385453ad982a62aff0b7c49c6a104176c;hb=00cc0dfd645cce97c120111f5e5fd4c02ed021c1;hp=29042b1d8ed4983ad2c6d662975397135c3dd047;hpb=be8eb9963bb6c0e6522f818c51f9b6930adc7876;p=quassel.git diff --git a/src/common/irccap.h b/src/common/irccap.h index 29042b1d..e1615f73 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 * @@ -100,6 +100,13 @@ namespace IrcCap { */ const QString USERHOST_IN_NAMES = "userhost-in-names"; + /** + * Server time for messages. + * + * https://ircv3.net/specs/extensions/server-time-3.2.html + */ + const QString SERVER_TIME = "server-time"; + /** * Vendor-specific capabilities */ @@ -141,6 +148,7 @@ namespace IrcCap { MULTI_PREFIX, SASL, USERHOST_IN_NAMES, + SERVER_TIME, Vendor::TWITCH_MEMBERSHIP, Vendor::ZNC_SELF_MESSAGE}; // NOTE: If you modify the knownCaps list, update the constants above as needed.