- getLocalUrl (this: MAccountActor | MChannelActor) {
- return WEBSERVER.URL + `/accounts/` + this.Actor.preferredUsername
+ // Avoid error when running this method on MAccount... | MChannel...
+ getClientUrl (this: MAccountHost | MChannelHost) {
+ return WEBSERVER.URL + '/a/' + this.Actor.getIdentifier()