mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-27 15:14:40 +00:00
fix missing argument in htmlFormatMsg() call on DM snippet show
This commit is contained in:
parent
fe0a1e1d50
commit
b3a281a693
@ -194,7 +194,7 @@ function dmDataToSnippetItem(dmData, remoteUser) {
|
|||||||
getGroupChatName( remoteUser, dmItem.find("a.post-info-name") );
|
getGroupChatName( remoteUser, dmItem.find("a.post-info-name") );
|
||||||
else
|
else
|
||||||
getFullname( remoteUser, dmItem.find("a.post-info-name") );
|
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));
|
dmItem.find(".post-info-time").text(timeGmtToText(dmData.time)).attr("title",timeSincePost(dmData.time));
|
||||||
|
|
||||||
return dmItem;
|
return dmItem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user