Compare commits

..

No commits in common. "ab613383826d6f1659b06174cbaae06a8339c7e7" and "1f274307add7652c0ddd6ec0c6aaaecd227e9d9a" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View file

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

View file

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