What you are describing sounds like the unified IM behaviour (i.e. Telepathy). XChat has nothing to do with this. I do not think any of these features were ever implemented in XChat.