Add 1s grace time for processing to sorry I'm late message
All checks were successful
continuous-integration/laminar-elessar Build 39 succeeded in 1 minute 14 seconds .

This commit is contained in:
Starbeamrainbowlabs 2019-03-31 12:14:15 +01:00
parent ef8c90b4ad
commit 3d4af3eb2f
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -383,7 +383,7 @@ namespace RhinoReminds
Jid targetJid = nextReminder.Jid; // Apparently nextReminder is null after the sendAndDeleteReminder() call - very odd!
sendAndDeleteReminder(nextReminder);
if (nextWaitingTime.TotalMilliseconds < 0) {
if (nextWaitingTime.TotalMilliseconds < -1) {
client.SendChatMessage(
targetJid,
"(Sorry I'm late reminding you! I might not have been running at the time, " +