mirror of
https://github.com/discourse/discourse.git
synced 2025-09-04 08:47:37 +08:00
FIX: Inviting a group that I am part of creates a notification.
https://meta.discourse.org/t/inviting-a-group-to-a-message-does-not-trigger-a-notification-mail/50509/10?u=tgxworld
This commit is contained in:
parent
42e0aaed61
commit
07f1d90b88
2 changed files with 3 additions and 1 deletions
|
@ -675,6 +675,7 @@ describe Topic do
|
|||
|
||||
group.add(user)
|
||||
group.add(user_2)
|
||||
group.add(topic.user)
|
||||
|
||||
group.group_users.find_by(user: user_2).update!(
|
||||
notification_level: NotificationLevels.all[:muted]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue