Move msg.tags fallback to client
This commit is contained in:
1 parent
a172c810e9
commit
4b306305bf
2 files changed
+3
-3
No files matched your search
@@ -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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user