mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Add markdown support for ufora notifications, store notifications using IDs
This commit is contained in:
parent
c9bef3b300
commit
268bb80bfd
2 changed files with 23 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue