浏览代码

Auto-reconnect for embedded demo

JC Brand 8 年之前
父节点
当前提交
87bf2e25c2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      embedded.html

+ 1 - 0
embedded.html

@@ -63,6 +63,7 @@
             allow_contact_requests: false, // Contacts from other servers cannot,
             allow_contact_requests: false, // Contacts from other servers cannot,
                                            // be added and anonymous users don't
                                            // be added and anonymous users don't
                                            // know one another's JIDs, so disabling.
                                            // know one another's JIDs, so disabling.
+            auto_reconnect: true,
             authentication: 'anonymous',
             authentication: 'anonymous',
             auto_login: true,
             auto_login: true,
             auto_join_rooms: [
             auto_join_rooms: [