Commit 50bcb35e authored by Aryan Noshirvnai's avatar Aryan Noshirvnai

Add room chat persistence, location/DM privacy controls, and direct messages

Rooms chat now persists to a room_messages table instead of an in-memory
deque that was discarded the instant a room emptied. Two new opt-in privacy
flags on UserProfile (share_location_enabled, allow_direct_messages) gate
live-location visibility and a new 1-on-1 direct-messaging feature, closing
a real gap where LiveLocation rows were visible to any authenticated user
with zero consent check. The Rooms websocket's connection-registry logic
was extracted into a shared ConnectionManager so DMs reuse the same
JWT-over-query-param transport instead of a second implementation.
Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
parent cab57b31
Pipeline #1187 passed with stage
in 4 minutes and 18 seconds