Add markdown support for ufora notifications, store notifications using IDs

This commit is contained in:
Stijn De Clercq 2021-03-03 18:13:22 +01:00
parent c9bef3b300
commit 268bb80bfd
2 changed files with 23 additions and 3 deletions

View file

@ -41,9 +41,10 @@ def run():
if feed:
for item in feed:
notifications[course].append(item["id"])
notification = UforaNotification(item, course)
new_notifications.append(notification)
new_notifications.append(UforaNotification(item, course))
notifications[course].append(notification.get_id())
# Update list of notifications
if new_notifications: