I remember having problems with this in the past using ZNC and separate mobile/laptop clients.
Reply on news.ycombinator.com