You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Invite to Room now creates a pending invitation instead of adding member directly (#3239) (#3269)
- Added room_invitations table (migration + schema.sql) with pending/
accepted/declined status
- invite/route.ts now creates a pending invitation and notifies the
invitee, instead of calling addRoomMember directly
- Added GET /api/room-invitations to list a user's pending invitations
- Added POST /api/room-invitations/[invitationId] to accept or decline
- Added PendingInvitations component, surfaced on the rooms list page
- InviteModal now shows a pending-confirmation state instead of
optimistically closing
- MembersPanel no longer adds the invited user to the members list on
invite, since they aren't a member until they accept
Signed-off-by: aaniya22 <aaniyaatomar@gmail.com>
0 commit comments