mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 15:22:35 -05:00
Show timestamp in nonotify PMs (#1351)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user