From 39eb0e56a5cee0b3d51ca8c0f3a98f4cf2f517f3 Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Thu, 6 Sep 2018 15:31:46 +0100 Subject: [PATCH] fixup! Add related object to the activity and handle within messages --- opentech/apply/activity/messaging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentech/apply/activity/messaging.py b/opentech/apply/activity/messaging.py index 442be98b2..55584d996 100644 --- a/opentech/apply/activity/messaging.py +++ b/opentech/apply/activity/messaging.py @@ -151,7 +151,7 @@ class ActivityAdapter(AdapterBase): from .models import Activity, PUBLIC visibility = kwargs.get('visibility', PUBLIC) - related =kwargs['related'] + related = kwargs['related'] if isinstance(related, models.Model): related_object = related else: -- GitLab