Tidy up debug messages

This commit is contained in:
Starbeamrainbowlabs 2018-11-17 17:36:59 +00:00
parent 6399545331
commit 618846b268
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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;