Commit b36ca438 authored by Penar Musaraj's avatar Penar Musaraj
Browse files

Do not lowercase when checking meeting usernames

parent 2b577fe8
......@@ -60,7 +60,8 @@ module BigBlue
if data['response']['returncode'] == "SUCCESS"
att = data['response']['attendees']['attendee']
usernames = att.is_a?(Array) ? att.pluck("userID") : [att["userID"]]
users = User.where("lower(username) IN (?)", usernames)
users = User.where("username IN (?)", usernames)
avatars = users.map do |s|
{
name: s.name || s.username,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment