i cant do send a announce whit strophe from ejabberd sever 18.03. It is possible, how? i cant use this code ? https://github.com/bbc/Strophejs-PubSub-Demo/blob/master/js/publisher.js
Asked
Active
Viewed 55 times
1 Answers
0
If user1@localhost is an account with admin rights in ejabberd configuration, then you can execute this command to send an announcement message to all the users in localhost:
$ ejabberdctl send_message chat user1@localhost localhost/announce/all "" "Message to all"

Badlop
- 3,840
- 1
- 8
- 9
-
It is possible send this message in javascript? – Devid May 30 '18 at 03:14