Remove unnecessary irc.formatDate call

This commit is contained in:
Simon Ser 2021-10-29 16:34:50 +02:00
parent 40210f8b00
commit 33c3cf3278

View File

@ -750,7 +750,7 @@ export default class App extends Component {
client.fetchHistoryTargets(now, lastReceipt.time).then((targets) => {
targets.forEach((target) => {
let from = lastReceipt;
let to = { time: msg.tags.time || irc.formatDate(new Date()) };
let to = { time: msg.tags.time || now };
this.fetchBacklog(client, target.name, from, to);
});
});