Fix unsanitized name in profile again

pull/1/head
yflory 2019-12-18 16:15:33 +01:00
parent 704d42d169
commit 032186cc4c
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ define([
$(muteButton).click(function () {
module.execCommand('MUTE_USER', {
curvePublic: data.curvePublic,
name: data.displayName || data.name,
name: Util.fixHTML(data.displayName || data.name),
avatar: data.avatar
}, function (e) {
if (e) { console.error(e); return void UI.warn(Messages.error); }