소스 검색

Documentation fix.

JC Brand 10 년 전
부모
커밋
5fb319fcae
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      docs/source/development.rst

+ 2 - 2
docs/source/development.rst

@@ -301,11 +301,11 @@ Opens a chat box and returns an object representing a chat box.
 
 To open a single chat box, provide the JID of the contact::
 
-    converse.chats.get('buddy@example.com')
+    converse.chats.open('buddy@example.com')
 
 To return an array of chat boxes, provide an array of JIDs::
 
-    converse.chats.get(['buddy1@example.com', 'buddy2@example.com'])
+    converse.chats.open(['buddy1@example.com', 'buddy2@example.com'])
 
 
 *The returned chat box contains the following methods:*