Skip to content
Snippets Groups Projects
Commit 148b1a55 authored by Tulir Asokan's avatar Tulir Asokan
Browse files

Fix bug in broadcasting reminders with multiple subscribers

parent 9d93c910
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,7 @@ class ReminderDatabase: ...@@ -151,7 +151,7 @@ class ReminderDatabase:
for row in rows: for row in rows:
if building_reminder is not None: if building_reminder is not None:
if building_reminder.id == row[0]: if building_reminder.id == row[0]:
building_reminder.users[row[5]] = row[6] building_reminder.users[row[6]] = row[7]
continue continue
yield building_reminder yield building_reminder
building_reminder = ReminderInfo(id=row[0], date=row[1].replace(tzinfo=pytz.UTC), building_reminder = ReminderInfo(id=row[0], date=row[1].replace(tzinfo=pytz.UTC),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment