Browse Source

Ignore unrecognised 'default' stream.

master
paweldomas 11 years ago
parent
commit
3f3046893e
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      app.js

+ 4
- 1
app.js View File

@@ -356,7 +356,10 @@ function waitForPresence(data, sid) {
356 356
         container  = document.getElementById(
357 357
                 'participant_' + Strophe.getResourceFromJid(data.peerjid));
358 358
     } else {
359
-        if (data.stream.id !== 'mixedmslabel') {
359
+        if (data.stream.id !== 'mixedmslabel'
360
+            // FIXME: default stream is added always with new focus
361
+            // (to be investigated)
362
+            && data.stream.id !== 'default') {
360 363
             console.error('can not associate stream',
361 364
                 data.stream.id,
362 365
                 'with a participant');

Loading…
Cancel
Save