From 9d50530ca13c183f8640fb1453c09c770bf76451 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Wed, 6 Jan 2021 18:33:32 +0100 Subject: [PATCH] Send content of data field with Notification filter signal --- msgio/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msgio/helpers.py b/msgio/helpers.py index d675fbe..6c4970a 100644 --- a/msgio/helpers.py +++ b/msgio/helpers.py @@ -5,7 +5,7 @@ from dbsettings.functions import getValue make_message = filtersignals.FilterSignal() def run_filters(notification): - return make_message.send_robust(notification.__class__, recipient=notification.recipient, content=notification.content, app=notification.app)["content"] + return make_message.send_robust(notification.__class__, recipient=notification.recipient, content=notification.content, app=notification.app, data=notification.data)["content"] @filtersignals.receiver(make_message, 500) def notification_placeholders(sender, **kwargs):