Browse Source

fix missing argument in htmlFormatMsg() call on DM snippet show

master
Simon Grim 9 years ago
parent
commit
b3a281a693
  1. 2
      js/twister_formatpost.js

2
js/twister_formatpost.js

@ -194,7 +194,7 @@ function dmDataToSnippetItem(dmData, remoteUser) { @@ -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;

Loading…
Cancel
Save