summaryrefslogtreecommitdiff
path: root/app/services/concerns/users/participable_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/concerns/users/participable_service.rb')
-rw-r--r--app/services/concerns/users/participable_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/concerns/users/participable_service.rb b/app/services/concerns/users/participable_service.rb
index 1c828234f1b..6fde9abfdb0 100644
--- a/app/services/concerns/users/participable_service.rb
+++ b/app/services/concerns/users/participable_service.rb
@@ -55,7 +55,8 @@ module Users
username: group.full_path,
name: group.full_name,
avatar_url: group.avatar_url,
- count: group_counts.fetch(group.id, 0)
+ count: group_counts.fetch(group.id, 0),
+ mentionsDisabled: group.mentions_disabled
}
end
end