X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorenetwork.h;fp=src%2Fcore%2Fcorenetwork.h;h=86fc4ab94fbee815b7e21db728814a7524f3279c;hp=f2f7c4d73f99479a7ef24f9b812e27744f099ae0;hb=b33ea3ad0598e43621f3923e0fbc01e87b9b0031;hpb=cdc6091a2e02b84a48937cda287a0769ceb8726a diff --git a/src/core/corenetwork.h b/src/core/corenetwork.h index f2f7c4d7..86fc4ab9 100644 --- a/src/core/corenetwork.h +++ b/src/core/corenetwork.h @@ -392,6 +392,18 @@ public slots: */ void queueAutoWhoOneshot(const QString &channelOrNick); + /** + * Removes the given channel/nick from AutoWho queue for when it stops existing + * + * If not already in queue, nothing happens. This should only be used for nicknames and + * channels that have suddenly stopped existing (e.g. nick joins then quits). + * + * For when a periodic channel AutoWho finishes, see CoreNetwork::setAutoWhoDone() + * + * @param channelOrNick Channel or nickname to WHO + */ + void cancelAutoWhoOneshot(const QString &channelOrNick); + bool setAutoWhoDone(const QString &channel); void updateIssuedModes(const QString &requestedModes);