refactor: remove sync friend requests functionality and related components

This commit is contained in:
Moyasee
2025-12-23 18:47:31 +02:00
parent 45eaef23a9
commit 8751e369da
36 changed files with 529 additions and 1130 deletions

View File

@@ -498,7 +498,6 @@ contextBridge.exposeInMainWorld("electron", {
ipcRenderer.invoke("updateProfile", updateProfile),
processProfileImage: (imagePath: string) =>
ipcRenderer.invoke("processProfileImage", imagePath),
syncFriendRequests: () => ipcRenderer.invoke("syncFriendRequests"),
onSyncFriendRequests: (cb: (friendRequests: FriendRequestSync) => void) => {
const listener = (
_event: Electron.IpcRendererEvent,