mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: implement undo friendship
This commit is contained in:
parent
edf920fed3
commit
00c46bc981
6 changed files with 25 additions and 2 deletions
|
@ -135,6 +135,8 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
|
||||
/* Profile */
|
||||
getMe: () => ipcRenderer.invoke("getMe"),
|
||||
undoFriendship: (userId: string) =>
|
||||
ipcRenderer.invoke("undoFriendship", userId),
|
||||
updateProfile: (displayName: string, newProfileImagePath: string | null) =>
|
||||
ipcRenderer.invoke("updateProfile", displayName, newProfileImagePath),
|
||||
getFriendRequests: () => ipcRenderer.invoke("getFriendRequests"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue