notify group members of group changes

Send a notification to all group members when group name, description, or privacy are changed.
This commit is contained in:
Hugh Rundle
2021-10-22 20:23:45 +11:00
parent c9deda8fdd
commit 6bc86f189f
4 changed files with 60 additions and 1 deletions

View File

@ -27,4 +27,10 @@
{% include 'notifications/items/leave.html' %}
{% elif notification.notification_type == 'REMOVE' %}
{% include 'notifications/items/remove.html' %}
{% elif notification.notification_type == 'GROUP_PRIVACY' %}
{% include 'notifications/items/update.html' %}
{% elif notification.notification_type == 'GROUP_NAME' %}
{% include 'notifications/items/update.html' %}
{% elif notification.notification_type == 'GROUP_DESCRIPTION' %}
{% include 'notifications/items/update.html' %}
{% endif %}