I want to persistently join to room

Hello everyone,

I’m developing on chat module now. When member was invited to room, he’ll be there persistently, regardless he was disconnected. And when he logged in again he’ll receive unread messages.

Just when he leave room by him self, he’ll no longer receive message from that room.

Totally it’s the same as Skype conversation.

Any suggestion’d be appriciated.