Move msg.tags fallback to client

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

No files matched your search

-3
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());
}