So, you're like AIM/MSN Messenger/Yahoo Messenger/Google Talk/ICQ...?
Having build a chat system, the real problems don't start until you have scale. I'd hate to be using this in a real work environment only to have it fall over when there's a lot of users. Chat is the only time I've ever had to write Erlang code.