如何解决Converse.js 我想在没有登录的情况下自动打开一个 muc
使用 Converse.js,我想在没有登录的情况下在我的网站中打开一个 muc 聊天窗口,所以我写了这个:
<script>
converse.initialize({
allow_logout: false,allow_muc_invitations: false,allow_contact_requests: false,authentication: 'login',auto_login: true,jid: 'userweb@xmpp.example.com',password: 'The-UserWeb',auto_join_rooms: [
'help@conference.xmpp.example.com',],notify_all_room_messages: [
'help@conference.xmpp.example.com',bosh_service_url: 'https://xmpp.example.com/http-bind/',keepalive: true,hide_muc_server: true,play_sounds: true,singleton: true,auto_reconnect: true,show_controlbox_by_default: false,strict_plugin_dependencies: false,});
</script>
muc 聊天窗口打开了,可以发消息,但是收不到。
如何从我的 xmmp 服务器接收消息?问题出在哪里?
(使用 pidgin 或 kopete 我可以在 muc 聊天室正常交谈)。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。