Move msg.tags fallback to client

This commit is contained in:
Simon Ser 2022-11-30 11:30:46 +01:00
parent a172c810e9
commit 4b306305bf
2 changed files with 3 additions and 3 deletions

View file

@ -598,9 +598,6 @@ export default class App extends Component {
// operators and can contain important information.
msg.isHighlight = irc.isHighlight(msg, client.nick, client.cm) || irc.isServerBroadcast(msg);
if (!msg.tags) {
msg.tags = {};
}
if (!msg.tags.time) {
msg.tags.time = irc.formatDate(new Date());
}