Don't look at virtual files data for the mimetype matches
authorKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 29 Dec 2020 14:11:33 +0000 (15:11 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 30 Dec 2020 08:44:58 +0000 (09:44 +0100)
commite37a5f36b0cd494d95b5f6770cf5690efdfafb95
tree3b4785fb13922a0641d514d4fe314773e68796ab
parent90fbb7d3225c331480f55b37ebe9064a050a5314
Don't look at virtual files data for the mimetype matches

Otherwise this would attempt to download the file everytime we check the
direct editor for a given file which wouldn't be adequate. Would also
lead to a deadlock in our case since that would happen in the main
thread and implicit hydration is driven from there as well.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/socketapi.cpp