mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45:58 +01:00
Append message footer to /me messages too.
This commit is contained in:
parent
fece9287e2
commit
5e831ab536
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue