mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Remove logging.
This commit is contained in:
parent
59f9e388d4
commit
ac36f93c3f
@ -195,9 +195,7 @@ function removeEndpoint(widgetId, endpointUrl) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.warn("Origin url:", u);
|
|
||||||
const origin = u.protocol + '//' + u.host;
|
const origin = u.protocol + '//' + u.host;
|
||||||
|
|
||||||
if (global.mxWidgetMessagingMessageEndpoints && global.mxWidgetMessagingMessageEndpoints.length > 0) {
|
if (global.mxWidgetMessagingMessageEndpoints && global.mxWidgetMessagingMessageEndpoints.length > 0) {
|
||||||
const length = global.mxWidgetMessagingMessageEndpoints.length;
|
const length = global.mxWidgetMessagingMessageEndpoints.length;
|
||||||
global.mxWidgetMessagingMessageEndpoints = global.mxWidgetMessagingMessageEndpoints.filter(function(endpoint) {
|
global.mxWidgetMessagingMessageEndpoints = global.mxWidgetMessagingMessageEndpoints.filter(function(endpoint) {
|
||||||
|
Loading…
Reference in New Issue
Block a user