about summary refs log tree commit diff
path: root/LibMatrix/Helpers/MediaResolver.cs
blob: 6ddb22164cb2e79267b8240d4422f032703d35f8 (plain) (blame)
1
2
3
4
5
6
namespace LibMatrix.Helpers;

public class MediaResolver {
    public static string ResolveMediaUri(string homeserver, string mxc) =>
        mxc.Replace("mxc://", $"{homeserver}/_matrix/media/v3/download/");
}