From ff0f1d698d50a0cc448e94d99e22f47baffeed52 Mon Sep 17 00:00:00 2001 From: Senya Date: Mon, 15 Jan 2018 22:25:43 +0200 Subject: [PATCH] Fix mistyped example (#991) was open instead of get in the example for get --- docs/source/developer_api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/developer_api.rst b/docs/source/developer_api.rst index da999747b..072dcd792 100644 --- a/docs/source/developer_api.rst +++ b/docs/source/developer_api.rst @@ -916,7 +916,7 @@ It takes 3 parameters: var _converse = this._converse; _converse.api.waitUntil('roomsAutoJoined').then(function () { var create_if_not_found = true; - this._converse.api.rooms.open( + this._converse.api.rooms.get( 'group@muc.example.com', {'nick': 'dread-pirate-roberts'}, create_if_not_found