From b3a281a6934a14ff986b9e6e6e87510a5755cb3a Mon Sep 17 00:00:00 2001 From: Simon Grim Date: Sat, 25 Jul 2015 12:00:32 +0500 Subject: [PATCH] fix missing argument in htmlFormatMsg() call on DM snippet show --- js/twister_formatpost.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/twister_formatpost.js b/js/twister_formatpost.js index 42de19b..393d285 100644 --- a/js/twister_formatpost.js +++ b/js/twister_formatpost.js @@ -194,7 +194,7 @@ function dmDataToSnippetItem(dmData, remoteUser) { getGroupChatName( remoteUser, dmItem.find("a.post-info-name") ); else getFullname( remoteUser, dmItem.find("a.post-info-name") ); - dmItem.find(".post-text").html(htmlFormatMsg(dmData.text)); + dmItem.find(".post-text").html(htmlFormatMsg(dmData.text, [])); dmItem.find(".post-info-time").text(timeGmtToText(dmData.time)).attr("title",timeSincePost(dmData.time)); return dmItem;