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.
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
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.
get_room_pid(Name, Service)
get_room_pid(Name, Service) ->
case mnesia:dirty_read(muc_online_room, {Name, Service}) of
[] ->
room_not_found;
[Room] ->
Room#muc_online_room.pid
end.
Yes, thank you.
Yes, thank you.