Commit 1178bade authored by JC Brand's avatar JC Brand

Role was wrongly set to 'occupant' instead of 'participant'

parent ac643ae6
...@@ -1156,7 +1156,7 @@ ...@@ -1156,7 +1156,7 @@
.c('item').attrs({ .c('item').attrs({
affiliation: 'member', affiliation: 'member',
jid: 'dummy@localhost/resource', jid: 'dummy@localhost/resource',
role: 'occupant' role: 'participant'
}).up() }).up()
.c('status').attrs({code:'110'}).up() .c('status').attrs({code:'110'}).up()
.c('status').attrs({code:'210'}).nodeTree; .c('status').attrs({code:'210'}).nodeTree;
...@@ -1434,7 +1434,7 @@ ...@@ -1434,7 +1434,7 @@
* <item affiliation='member' * <item affiliation='member'
* jid='hag66@shakespeare.lit/pda' * jid='hag66@shakespeare.lit/pda'
* nick='oldhag' * nick='oldhag'
* role='occupant'/> * role='participant'/>
* <status code='303'/> * <status code='303'/>
* <status code='110'/> * <status code='110'/>
* </x> * </x>
...@@ -1447,7 +1447,7 @@ ...@@ -1447,7 +1447,7 @@
* <x xmlns='http://jabber.org/protocol/muc#user'> * <x xmlns='http://jabber.org/protocol/muc#user'>
* <item affiliation='member' * <item affiliation='member'
* jid='hag66@shakespeare.lit/pda' * jid='hag66@shakespeare.lit/pda'
* role='occupant'/> * role='participant'/>
* <status code='110'/> * <status code='110'/>
* </x> * </x>
* </presence> * </presence>
...@@ -1469,7 +1469,7 @@ ...@@ -1469,7 +1469,7 @@
.c('item').attrs({ .c('item').attrs({
affiliation: 'member', affiliation: 'member',
jid: 'dummy@localhost/pda', jid: 'dummy@localhost/pda',
role: 'occupant' role: 'participant'
}).up() }).up()
.c('status').attrs({code:'110'}).up() .c('status').attrs({code:'110'}).up()
.c('status').attrs({code:'210'}).nodeTree; .c('status').attrs({code:'210'}).nodeTree;
...@@ -1496,7 +1496,7 @@ ...@@ -1496,7 +1496,7 @@
affiliation: 'member', affiliation: 'member',
jid: 'dummy@localhost/pda', jid: 'dummy@localhost/pda',
nick: 'newnick', nick: 'newnick',
role: 'occupant' role: 'participant'
}).up() }).up()
.c('status').attrs({code:'303'}).up() .c('status').attrs({code:'303'}).up()
.c('status').attrs({code:'110'}).nodeTree; .c('status').attrs({code:'110'}).nodeTree;
...@@ -1519,7 +1519,7 @@ ...@@ -1519,7 +1519,7 @@
.c('item').attrs({ .c('item').attrs({
affiliation: 'member', affiliation: 'member',
jid: 'dummy@localhost/pda', jid: 'dummy@localhost/pda',
role: 'occupant' role: 'participant'
}).up() }).up()
.c('status').attrs({code:'110'}).nodeTree; .c('status').attrs({code:'110'}).nodeTree;
......
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
.c('item').attrs({ .c('item').attrs({
affiliation: 'member', affiliation: 'member',
jid: converse.bare_jid, jid: converse.bare_jid,
role: 'occupant' role: 'participant'
}).up() }).up()
.c('status').attrs({code:'110'}); .c('status').attrs({code:'110'});
converse.connection._dataRecv(utils.createRequest(presence)); converse.connection._dataRecv(utils.createRequest(presence));
......
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