Skip to content

Commit 8da4c12

Browse files
committed
wip fixup action for new API form
1 parent 7439f13 commit 8da4c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/widgets/actions.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ abstract final class ZulipAction {
253253
final store = PerAccountStoreWidget.of(context);
254254
// TODO discuss on #api design that percent-encoded form accepted here
255255
resultUrl = (await messages_api.getFileTemporaryUrl(store.connection,
256-
realmId: link.realmId, filename: link.path)).url;
256+
fileUrlPath: link.urlPath)).url;
257257
} catch (e) {
258258
if (!context.mounted) return null;
259259
final errorMessage = switch (e) {

0 commit comments

Comments
 (0)