Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不能从 ejabberd sever 18.03 发送公告。有可能,怎么做?我不能使用这个代码? https://github.com/bbc/Strophejs-PubSub-Demo/blob/master/js/publisher.js
如果 user1@localhost 是 ejabberd 配置中具有管理员权限的帐户,则可以执行此命令向 localhost 中的所有用户发送通知消息:
$ ejabberdctl send_message chat user1@localhost localhost/announce/all "" "消息给所有人"