浏览代码

Fix rooms grouping examples in docs

Guillermo Bonvehí 10 年之前
父节点
当前提交
98191056e1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/source/development.rst

+ 2 - 2
docs/source/development.rst

@@ -369,7 +369,7 @@ Similar to chats.get API
 
 To open a single multi user chat box, provide the JID of the room::
 
-    converse.room.open('group@muc.example.com')
+    converse.rooms.open('group@muc.example.com')
 
 To return an array of chat boxes, provide an array of JIDs::
 
@@ -377,7 +377,7 @@ To return an array of chat boxes, provide an array of JIDs::
 
 To setup a custom nickname when joining the room, provide the optionnal nick argument::
 
-    converse.room.open('group@muc.example.com', 'mycustomnick')
+    converse.rooms.open('group@muc.example.com', 'mycustomnick')
 
 
 "settings" grouping