1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-23 00:55: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.peerId = peerId;
lastMessage.dest = (dest || null); lastMessage.dest = (dest || null);
lastMessage.time = (time || null); lastMessage.time = (time || null);
container.appendChild(footer);
} else { } else {
let asterisk = document.createElement('span'); let asterisk = document.createElement('span');
asterisk.textContent = '*'; asterisk.textContent = '*';
@ -1700,6 +1699,7 @@ function addToChatbox(peerId, dest, nick, time, privileged, kind, message) {
container.classList.add('message-me'); container.classList.add('message-me');
lastMessage = {}; lastMessage = {};
} }
container.appendChild(footer);
let box = document.getElementById('box'); let box = document.getElementById('box');
box.appendChild(row); box.appendChild(row);