flackr / circ

An IRC packaged chrome app
BSD 3-Clause "New" or "Revised" License
387 stars 79 forks source link

Show join, leave, nick, etc messages in private channels #48

Open noahsug opened 12 years ago

noahsug commented 12 years ago

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).

tvierling commented 11 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.

tvierling commented 11 years ago

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.