Tidy up debug messages

master
Starbeamrainbowlabs 4 years ago
parent 6399545331
commit 618846b268
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 4
      RhinoReminds/ReminderList.cs

@ -27,10 +27,8 @@ namespace RhinoReminds
public Reminder CreateReminder(Jid inJid, DateTime time, string message) {
Reminder result = new Reminder(nextId++, $"{inJid.Node}@{inJid.Domain}", time, message);
Console.WriteLine($"[Rhino/ReminderList] Created reminder {result}");
while (Reminders.ContainsKey(time)) {
Console.WriteLine($"[Rhino/ReminderList] Reminder list contained {time}, adding 1ms");
while (Reminders.ContainsKey(time))
time = time.AddMilliseconds(1);
}
Reminders.Add(time, result);
OnReminderListUpdate(this, result);
return result;

Loading…
Cancel
Save