Fix mistyped example (#991)

was open instead of get in the example for get
This commit is contained in:
Senya 2018-01-15 22:25:43 +02:00 committed by JC Brand
parent 59c11526f2
commit ff0f1d698d

View File

@ -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