Tidy up debug messages
This commit is contained in:
parent
6399545331
commit
618846b268
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue