[ejabberd] send_all_state_event to mod_muc_room gen_fsm

Boris Okner boris.okner at gmail.com
Wed May 18 17:50:45 MSD 2011

You should retrieve fsm's Pid from muc_online_room table. The table has
{room_name, host} key and stores Pid of the room in pid field.


On Wed, May 18, 2011 at 9:37 AM, Alexander Kuleshov
<kuleshovmail at gmail.com>wrote:

> Hello,
> For example I create 3 multi user chat room with create_room(Host,
> Name, From, Nick, Opts). How can i send message with
> send_all_state_event/2 for example to second room? What's fsm ref will
> be for this room?
> Thank you.
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20110518/c78d178b/attachment.html>

More information about the ejabberd mailing list