diff --git a/client/js/socket-events/msg.js b/client/js/socket-events/msg.js index c8a10d94..2d5e196f 100644 --- a/client/js/socket-events/msg.js +++ b/client/js/socket-events/msg.js @@ -58,7 +58,7 @@ function processReceivedMessage(data) { render.appendMessage( container, targetId, - channel.prop("data-type"), + channel.data("type"), data.msg );