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) {
|
public Reminder CreateReminder(Jid inJid, DateTime time, string message) {
|
||||||
Reminder result = new Reminder(nextId++, $"{inJid.Node}@{inJid.Domain}", time, message);
|
Reminder result = new Reminder(nextId++, $"{inJid.Node}@{inJid.Domain}", time, message);
|
||||||
Console.WriteLine($"[Rhino/ReminderList] Created reminder {result}");
|
Console.WriteLine($"[Rhino/ReminderList] Created reminder {result}");
|
||||||
while (Reminders.ContainsKey(time)) {
|
while (Reminders.ContainsKey(time))
|
||||||
Console.WriteLine($"[Rhino/ReminderList] Reminder list contained {time}, adding 1ms");
|
|
||||||
time = time.AddMilliseconds(1);
|
time = time.AddMilliseconds(1);
|
||||||
}
|
|
||||||
Reminders.Add(time, result);
|
Reminders.Add(time, result);
|
||||||
OnReminderListUpdate(this, result);
|
OnReminderListUpdate(this, result);
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue