diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index a17952e4..6651ccf9 100644 --- a/public/js/RoomClient.js +++ b/public/js/RoomClient.js @@ -47,6 +47,8 @@ const icons = { unlock: '', pitchBar: '', sounds: '', + fileSend: '', + fileReceive: '', }; const image = { @@ -3190,7 +3192,12 @@ class RoomClient { this.rightMsgAvatar, this.peer_name, this.peer_id, - 'Send File: \n' + this.toHtmlJson(fileInfo), + `${icons.fileSend} File send: +
+ `, 'all', 'all', ); @@ -3226,7 +3233,12 @@ class RoomClient { this.leftMsgAvatar, this.incomingFileInfo.peer_name, this.incomingFileInfo.peer_id, - 'Receive File: \n' + this.toHtmlJson(this.incomingFileInfo), + `${icons.fileReceive} File receive: +
+ `, 'all', 'all', );