Skip to content

Commit

Permalink
What am I doing
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Aug 24, 2017
1 parent 9a40112 commit 578b258
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions js/views/roomlistview.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,17 @@
var token = this.ui.room.attr('data-token');
OCA.SpreedMe.Calls.join(token);

if (!_.isUndefined(this.model)) {
console.log("participants");
var participantCollection = new OCA.SpreedMe.Models.ParticipantCollection();
participantCollection.setRoom(this.model);

var participantView = new OCA.SpreedMe.Views.ParticipantView({
el: '#app-navigation ul',
collection: participantCollection
});
}

OC.Util.History.pushState({
token: token
}, OC.generateUrl('/call/' + token));
Expand Down

0 comments on commit 578b258

Please sign in to comment.