FIX: Do not downcase group name in notification payload

Followup to 3d39b4bb
This commit is contained in:
Penar Musaraj
2020-09-21 13:33:29 -04:00
parent 577293c438
commit f7ca93b2fa
2 changed files with 30 additions and 13 deletions

View File

@@ -223,7 +223,7 @@ class PostAlerter
topic.allowed_groups.map do |g|
{
group_id: g.id,
group_name: g.name.downcase,
group_name: g.name,
inbox_count: DB.query_single(sql, group_id: g.id).first.to_i
}
end