Show timestamp in nonotify PMs (#1351)

This commit is contained in:
whales
2019-08-14 00:39:09 +09:30
committed by Kirk Scheibelhut
parent db3d655648
commit dea589abb7

View File

@@ -1004,7 +1004,7 @@
case 'raw':
return '<div class="chat">' + BattleLog.sanitizeHTML(target) + '</div>';
case 'nonotify':
return {message: '<div class="chat">' + BattleLog.sanitizeHTML(target) + '</div>', noNotify: true};
return {message: '<div class="chat">' + timestamp + BattleLog.sanitizeHTML(target) + '</div>', noNotify: true};
default:
// Not a command or unsupported. Parsed as a normal chat message.
if (!name) {