Skip to content
Snippets Groups Projects

Generalise notifications and implement SMS notifications

Merged Nik | Klampfradler requested to merge 165-generalise-notifications into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -255,7 +255,7 @@ def notification_mark_read(request: HttpRequest, id_: int) -> HttpResponse:
notification = get_object_or_404(Notification, pk=id_)
if notification.user == request.user:
if notification.recipient.user == request.user:
notification.read = True
notification.save()
else:
Loading