Forgot to add the websocket

This commit is contained in:
Dessalines 2021-08-21 09:19:18 -04:00
parent 3d09b41e7f
commit bda962a9bb

View file

@ -40,6 +40,7 @@ import {
GetModlog, GetModlog,
GetSite, GetSite,
GetSiteConfig, GetSiteConfig,
ResolveObject,
SaveSiteConfig, SaveSiteConfig,
Search, Search,
TransferSite, TransferSite,
@ -423,6 +424,13 @@ export class LemmyWebsocket {
return wrapper(UserOperation.Search, form); return wrapper(UserOperation.Search, form);
} }
/**
* Fetch a non-local / federated object.
*/
resolveObject(form: ResolveObject) {
return wrapper(UserOperation.ResolveObject, form);
}
/** /**
* Mark all replies as read. * Mark all replies as read.
*/ */