X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorenetwork.h;h=cc41309b4a4b3995124eb362113c0f366e8083f4;hp=88ea9bd569e30bec42dd78494181c0a0e137cb62;hb=9c59843b54202a69f4c01171b28bf79b26c27975;hpb=8408139458e67b482a34d24e545fa19015a12224 diff --git a/src/core/corenetwork.h b/src/core/corenetwork.h index 88ea9bd5..cc41309b 100644 --- a/src/core/corenetwork.h +++ b/src/core/corenetwork.h @@ -150,6 +150,24 @@ public: */ inline bool useCapAwayNotify() const { return capEnabled("away-notify"); } + /** + * Gets the status of the account-notify capability. + * + * http://ircv3.net/specs/extensions/account-notify-3.1.html + * + * @returns True if account-notify is enabled, otherwise false + */ + inline bool useCapAccountNotify() const { return capEnabled("account-notify"); } + + /** + * Gets the status of the extended-join capability. + * + * http://ircv3.net/specs/extensions/extended-join-3.1.html + * + * @returns True if extended-join is enabled, otherwise false + */ + inline bool useCapExtendedJoin() const { return capEnabled("extended-join"); } + public slots: virtual void setMyNick(const QString &mynick);