|
@@ -81,7 +81,7 @@ function doJoin() {
|
81
|
81
|
roomjid += '/' + Strophe.getNodeFromJid(connection.jid);
|
82
|
82
|
}
|
83
|
83
|
} else {
|
84
|
|
- roomjid += '/' + Strophe.getNodeFromJid(connection.jid);
|
|
84
|
+ roomjid += '/' + Strophe.getNodeFromJid(connection.jid).substr(0,8);
|
85
|
85
|
}
|
86
|
86
|
connection.emuc.doJoin(roomjid);
|
87
|
87
|
}
|
|
@@ -246,6 +246,9 @@ $(document).bind('setLocalDescription.jingle', function (event, sid) {
|
246
|
246
|
|
247
|
247
|
$(document).bind('joined.muc', function (event, jid, info) {
|
248
|
248
|
updateRoomUrl(window.location.href);
|
|
249
|
+ document.getElementById('localNick').appendChild(
|
|
250
|
+ document.createTextNode(Strophe.getResourceFromJid(jid) + ' (you)')
|
|
251
|
+ );
|
249
|
252
|
|
250
|
253
|
// Once we've joined the muc show the toolbar
|
251
|
254
|
showToolbar();
|
|
@@ -264,6 +267,11 @@ $(document).bind('entered.muc', function (event, jid, info, pres) {
|
264
|
267
|
var remotes = document.getElementById('remoteVideos');
|
265
|
268
|
remotes.appendChild(container);
|
266
|
269
|
|
|
270
|
+ var nickfield = document.createElement('span');
|
|
271
|
+ nickfield.appendChild(document.createTextNode(Strophe.getResourceFromJid(jid)));
|
|
272
|
+ container.appendChild(nickfield);
|
|
273
|
+ resizeThumbnails();
|
|
274
|
+
|
267
|
275
|
if (focus !== null) {
|
268
|
276
|
// FIXME: this should prepare the video
|
269
|
277
|
if (focus.confid === null) {
|
|
@@ -291,6 +299,7 @@ $(document).bind('left.muc', function (event, jid) {
|
291
|
299
|
if (container) {
|
292
|
300
|
// hide here, wait for video to close before removing
|
293
|
301
|
$(container).hide();
|
|
302
|
+ resizeThumbnails();
|
294
|
303
|
}
|
295
|
304
|
|
296
|
305
|
if (Object.keys(connection.emuc.members).length === 0) {
|