Compare commits

...

2 commits

2 changed files with 4 additions and 3 deletions

View file

@ -26,7 +26,7 @@ jobs:
with:
go-version-file: gomuks/go.mod
- name: Do go build
- name: Go build
run: |
cd gomuks/pkg/ffi
go build -tags goolm -o ../../../libgomuks.dll -buildmode=c-shared

View file

@ -1,4 +1,5 @@
extension MxcToHttps on Uri {
Uri mxcToHttps(String homeserver) =>
Uri.parse("${homeserver}_matrix/client/v1/media/download/$host$path");
Uri mxcToHttps(String homeserver) => Uri.parse(
homeserver,
).resolve("_matrix/client/v1/media/download/$host$path");
}