mirror of
https://codeberg.org/emersion/gamja
synced 2025-04-22 01:23:56 +02:00
Remove unnecessary irc.formatDate call
This commit is contained in:
parent
40210f8b00
commit
33c3cf3278
@ -750,7 +750,7 @@ export default class App extends Component {
|
|||||||
client.fetchHistoryTargets(now, lastReceipt.time).then((targets) => {
|
client.fetchHistoryTargets(now, lastReceipt.time).then((targets) => {
|
||||||
targets.forEach((target) => {
|
targets.forEach((target) => {
|
||||||
let from = lastReceipt;
|
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);
|
this.fetchBacklog(client, target.name, from, to);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user