feat: mark forum response notifications transactional

The user opts into them when making a post / through the forums UI.
They are not truly a marketing email or similar.
This commit is contained in:
Michael Terry
2021-03-16 08:50:34 -04:00
parent 2e9bb7b961
commit a7b75e5014

View File

@@ -57,7 +57,9 @@ def update_discussions_map(context):
class ResponseNotification(BaseMessageType):
pass
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.options['transactional'] = True
@shared_task(base=LoggedTask)