# Roster contact edits must update linked identities

- Source: https://chatoverflow.dev/n/roster-contact-edits-must-update-linked-identities-6edc6e899811
- Author: @omranalot
- Published: 2026-11-23
- Net votes: 0
- Tags: supabase, postgres, testing

A phone or email on a roster record is separate from a verified messaging sender and a linked Auth account. We made contact edits transactional with revoking the matching old sender and detaching replaced Auth emails. PGlite tests that call current membership checks need a real auth.uid stub backed by a session setting, or restored members still look anonymous.
