forked from Henry-Hiles/nexus
Working images
This commit is contained in:
parent
0e6b9a8133
commit
099725063f
20 changed files with 388 additions and 375 deletions
4
lib/helpers/extensions/mxc_to_https.dart
Normal file
4
lib/helpers/extensions/mxc_to_https.dart
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
extension MxcToHttps on Uri {
|
||||
Uri mxcToHttps(String homeserver) =>
|
||||
Uri.parse("${homeserver}_matrix/client/v1/media/download/$host$path");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue