Add support for away-notify capability
authorShane Synan <digitalcircuit36939@gmail.com>
Wed, 17 Feb 2016 20:03:01 +0000 (14:03 -0600)
committerShane Synan <digitalcircuit36939@gmail.com>
Wed, 17 Feb 2016 20:03:01 +0000 (14:03 -0600)
commit51ced68c9ba7f733c354e0b2dc737caa1f436a47
tree3c5b65f0fdee2f0d9e8d10a62cc7f069b153f409
parentadc18a7284e7124639fa4b354251d6b102dcf6b7
Add support for away-notify capability

Add support for away-notify. As nicks change status, update ircuser
objects with new away status and messages, no /whois needed.

Modify automatic WHO polling when away-notify is active to poll all
channels ONCE regardless of polling settings and nick-limit.  This
captures away state for existing nicks in the channel.  Channels
joined after this will queue a separate one-off WHO poll.

Queue one-time WHO of nicks who join a channel when away-notify is
active as some servers won't send an :away message in this situation.
To support this, autoWhoQueue can now check specific users.

See http://ircv3.net/specs/extensions/away-notify-3.1.html
src/common/eventmanager.h
src/core/corenetwork.cpp
src/core/corenetwork.h
src/core/coresessioneventprocessor.cpp
src/core/coresessioneventprocessor.h
src/core/ircparser.cpp