Browse Source

Log an error if encrypted message is received but not supported.

pull/225/head
Joachim Bauch 11 years ago
parent
commit
7f492d315c
  1. 2
      static/js/mediastream/api.js

2
static/js/mediastream/api.js

@ -191,7 +191,7 @@ define(['jquery', 'underscore', 'ua-parser'], function($, _, uaparser) { @@ -191,7 +191,7 @@ define(['jquery', 'underscore', 'ua-parser'], function($, _, uaparser) {
if (dataType === "Encrypted") {
if (!this.endToEndEncryption) {
console.log("Encryption is not supported, can't handle", data);
console.error("Encryption is not supported, can't handle", data);
return;
}
this.endToEndEncryption.decrypt(d.From, data, _.bind(function(decrypted) {

Loading…
Cancel
Save