blob: 8ffcfaf0d161fc81dcb785f49095a0bbd45bd5b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
using LibMatrix.Extensions;
using LibMatrix.Helpers;
using LibMatrix.Services;
namespace LibMatrix.Homeservers;
public class AuthenticatedHomeserverMxApiExtended : AuthenticatedHomeserverGeneric {
public AuthenticatedHomeserverMxApiExtended(TieredStorageService storage, string canonicalHomeServerDomain, string accessToken) : base(storage, canonicalHomeServerDomain, accessToken) {
AccessToken = accessToken.Trim();
HomeServerDomain = canonicalHomeServerDomain.Trim();
SyncHelper = new SyncHelper(this, storage);
_httpClient = new MatrixHttpClient();
}
}
|