FIX: Fix mentions for mixed case group names

This commit is contained in:
David Taylor
2018-11-26 15:34:56 +00:00
parent 2e4706b787
commit afcf149c34
2 changed files with 10 additions and 7 deletions

View File

@@ -464,9 +464,9 @@ module PrettyText
(
SELECT
:group_type AS type,
name
lower(name) AS name
FROM groups
WHERE name IN (:names) AND (#{Group.mentionable_sql_clause})
WHERE lower(name) IN (:names) AND (#{Group.mentionable_sql_clause})
)
SQL