registrar: Back out change to convert case in B_REG_MIME_GET_SUPPORTING_APPS.

This reverts commit 3ab43722bf.

Now that GetSupportingApps does case conversion, we don't need to do it here.
This commit is contained in:
Augustin Cavalier 2024-01-26 18:19:51 -05:00
parent cdf3559b27
commit 4fbebc21b8

View File

@ -180,11 +180,10 @@ MIMEManager::MessageReceived(BMessage *message)
case B_REG_MIME_GET_SUPPORTING_APPS:
{
BString type;
const char *type;
err = message->FindString("type", &type);
if (!err)
err = fDatabase.GetSupportingApps(type.ToLower(), &reply);
err = fDatabase.GetSupportingApps(type, &reply);
reply.what = B_REG_RESULT;
reply.AddInt32("result", err);