Commit e99aa7d4 authored by Antonin Décimo's avatar Antonin Décimo Committed by Juliusz Chroboczek

Fix localMessage call to addToChatbox.

Commit b527c875 added the `kind`
parameter to `addToChatbox`, but the change wasn't reflected here.
parent 3e09c0ab
......@@ -2400,7 +2400,7 @@ function addToChatbox(peerId, dest, nick, time, privileged, history, kind, messa
* @param {string} message
*/
function localMessage(message) {
return addToChatbox(null, null, null, Date.now(), false, null, message);
return addToChatbox(null, null, null, Date.now(), false, false, '', message);
}
function clearChat() {
......@@ -2857,6 +2857,7 @@ function handleInput() {
try {
c.f(cmd, rest);
} catch(e) {
console.error(e);
displayError(e);
}
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment