fix(federation): compute relay targets before member deletion in leave handler

getGroupDmTargetOrigins() was called after the leaving user's dm_members row
was deleted, causing their instance to be excluded from member_remove and
ownership_transfer relay fan-out if they were the only member from that peer.
Move the target origins and leaving user lookups to before the deletion.
This commit is contained in:
Jannis Braun
2026-03-26 20:19:55 +01:00
parent f072568b8a
commit 6a83b6c6a5
2 changed files with 16 additions and 12 deletions
@@ -286,6 +286,7 @@ export function KeybindsPanel() {
return (
<div className="space-y-5">
<h2 className="text-lg font-semibold text-txt-primary mb-6">Keybinds</h2>
{/* macOS Accessibility Warning */}
{isElectronMac() && accessibilityTrusted === false && (
<div className="rounded-lg bg-amber-500/10 border border-amber-500/20 p-3.5">