fix matching of usernames with uppercase letters

pull/8661/head
Thibault Duplessis 2021-04-14 08:44:56 +02:00
parent d2354f658f
commit 319e61f4a8
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ final class PersonalDataExport(
ReplaceRootField("chat"),
Project($doc("_id" -> false, "l" -> true)),
Unwind("l"),
Match("l" $startsWith s"${user.id} ")
Match("l".$startsWith(s"${user.id} ", "i"))
)
}
.documentSource()