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

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