1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-09 18:25:58 +01:00

Append message footer to /me messages too.

This commit is contained in:
Juliusz Chroboczek 2020-12-28 01:47:23 +01:00
parent fece9287e2
commit 5e831ab536

View file

@ -1681,7 +1681,6 @@ function addToChatbox(peerId, dest, nick, time, privileged, kind, message) {
lastMessage.peerId = peerId;
lastMessage.dest = (dest || null);
lastMessage.time = (time || null);
container.appendChild(footer);
} else {
let asterisk = document.createElement('span');
asterisk.textContent = '*';
@ -1700,6 +1699,7 @@ function addToChatbox(peerId, dest, nick, time, privileged, kind, message) {
container.classList.add('message-me');
lastMessage = {};
}
container.appendChild(footer);
let box = document.getElementById('box');
box.appendChild(row);