Commit ff0f1d69 authored by Senya's avatar Senya Committed by JC Brand

Fix mistyped example (#991)

was open instead of get in the example for get
parent 59c11526
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment