X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Firccap.h;h=b1c9c5a068c0ba269b42313b8b447e6afbd80049;hp=c61068e0e134e97cb71a9ccb6189c6ff5d1b4976;hb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;hpb=0b983b0d9364e62db0b5e6cf25988ef8041a0c5d diff --git a/src/common/irccap.h b/src/common/irccap.h index c61068e0..b1c9c5a0 100644 --- a/src/common/irccap.h +++ b/src/common/irccap.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -106,6 +106,18 @@ namespace IrcCap { */ namespace Vendor { + /** + * Twitch.tv membership message support + * + * User list in a channel can be quite large and often non required for bot users and is then optional. + * + * From Twitch.tv documentation: + * "Adds membership state event data. By default, we do not send this data to clients without this capability." + * + * https://dev.twitch.tv/docs/v5/guides/irc/#twitch-irc-capability-membership + */ + const QString TWITCH_MEMBERSHIP = "twitch.tv/membership"; + /** * Self message support, as recognized by ZNC. * @@ -131,6 +143,7 @@ namespace IrcCap { MULTI_PREFIX, SASL, USERHOST_IN_NAMES, + Vendor::TWITCH_MEMBERSHIP, Vendor::ZNC_SELF_MESSAGE }; // NOTE: If you modify the knownCaps list, update the constants above as needed.