mirror of
https://github.com/jech/galene.git
synced 2024-11-10 02:35:58 +01:00
Fix localMessage call to addToChatbox.
Commit b527c8757a
added the `kind`
parameter to `addToChatbox`, but the change wasn't reflected here.
This commit is contained in:
parent
3e09c0ab29
commit
e99aa7d498
1 changed files with 2 additions and 1 deletions
|
@ -2400,7 +2400,7 @@ function addToChatbox(peerId, dest, nick, time, privileged, history, kind, messa
|
||||||
* @param {string} message
|
* @param {string} message
|
||||||
*/
|
*/
|
||||||
function localMessage(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() {
|
function clearChat() {
|
||||||
|
@ -2857,6 +2857,7 @@ function handleInput() {
|
||||||
try {
|
try {
|
||||||
c.f(cmd, rest);
|
c.f(cmd, rest);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
console.error(e);
|
||||||
displayError(e);
|
displayError(e);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue