Open noahsug opened 12 years ago
This would easy to implement if the remote user is in a channel that the local user is also in. However, the case of knowing when the user disconnects when the local user isn't in a common channel is harder.
Probably this should be implemented in terms of WATCH, but will only work on ircds that have it in RPL_ISUPPORT. Polling via ISON is possible as a fallback, if the poll interval is reasonably spaced.
Started this on a branch in my fork, will be working on support for both proactive WATCH and polled ISON. With some smarts (determining when a user is on a common channel, so that channels can be used for notifications and the watchlist can be kept small), this should be pretty low overhead.
When /msg is used to open a private chat window and the user you're talking to disconnects, show a disconnect message in that chat room (just like we do in other chat rooms that user was in).