fix(Thumbnails): Use correct local id rather than remote id

Fixes #13743

Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh 2024-11-23 11:04:07 -05:00 committed by Alper Öztürk
parent 8311326d55
commit 1d23c3a45e

View file

@ -1400,7 +1400,7 @@ public final class ThumbnailsCacheManager {
GetMethod getMethod = null;
try {
String uri = mClient.getBaseUri() + "/index.php/core/preview?fileId="
+ file.getRemoteId()
+ file.getLocalId()
+ "&x=" + (pxW / 2) + "&y=" + (pxH / 2) + "&a=1&mode=cover&forceIcon=0";
Log_OC.d(TAG, "generate resized image: " + file.getFileName() + " URI: " + uri);
getMethod = new GetMethod(uri);