mirror of
https://github.com/jech/galene.git
synced 2024-11-26 02:25:58 +01:00
Display destination in private messages.
This commit is contained in:
parent
bda58b42c6
commit
179b57a986
1 changed files with 1 additions and 1 deletions
|
@ -1261,7 +1261,7 @@ function addToChatbox(peerId, dest, nick, time, kind, message) {
|
|||
lastMessage.dest !== (dest || null)) {
|
||||
let header = document.createElement('p');
|
||||
let user = document.createElement('span');
|
||||
user.textContent = nick;
|
||||
user.textContent = dest ? `${nick} \u2192 ${users[dest]}` : nick;
|
||||
user.classList.add('message-user');
|
||||
header.appendChild(user);
|
||||
if(time) {
|
||||
|
|
Loading…
Reference in a new issue