Skip to content

Commit

Permalink
Fix bug in broadcasting reminders with multiple subscribers
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Mar 27, 2020
1 parent 9d93c91 commit 148b1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reminder/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _get_many(self, whereclause) -> Iterator[ReminderInfo]:
for row in rows:
if building_reminder is not None:
if building_reminder.id == row[0]:
building_reminder.users[row[5]] = row[6]
building_reminder.users[row[6]] = row[7]
continue
yield building_reminder
building_reminder = ReminderInfo(id=row[0], date=row[1].replace(tzinfo=pytz.UTC),
Expand Down

0 comments on commit 148b1a5

Please sign in to comment.