Spaces:
Sleeping
Sleeping
Commit History
-
fix GC [no key], camera-off avatar, timestamps, GC remove error handlingβ
ausername-12345- GC [no key]: cache own public key in pubKeyCache on app init (setupSession + completeGoogleSetup) so sendGroupMsg always has the sender's key to wrap the AES key. Without this, encrypted_aes_key for self was missing and the echo showed [Encrypted message]. - Camera-off avatar: local video avatar now uses me.display_name/avatar_color instead of callTarget (which was showing the other person's avatar even when YOUR camera was off). - Timestamps always 'now': changed str(msg.created_at) to msg.created_at.isoformat() so JS Date parses correctly regardless of timezone, fixing the 2-minutes-ago-showing-as-now bug. - GC remove: added try/catch to removeFromGroup so silent failures don't leave stale UIe0701ea -
add conversation delete with confirmβ
ausername-12345- DELETE /chat/conversations/{id} removes caller from ConversationMember - β button on each DM in sidebar calls deleteConversation() - Clicking delete shows browser confirm dialog, then removes conversation - If the deleted conversation is currently open, resets to empty state - Clears msgCache for that conversation987f439 -
video-off shows avatar, show 'You' in GC, allow self-removalβ
ausername-12345- When camera is turned off during video call, local video shows avatar overlay; signal sent to remote peer who also shows avatar overlay instead of frozen/black frame - Group settings shows '(You)' next to your own name - 'Remove' button on others, 'Leave' button on yourself - Leaving the group navigates back to empty state - Added video_toggle WebSocket message (backend handler + dispatch)fb8eda3 -
remove group calling, fix video toggle visibility, fix empty Google setup containerβ
ausername-12345- Removed all group call code (backend handlers, frontend logic, WebSocket dispatch, HTML) β only 1-to-1 calling remains - Video toggle button now properly shown/hidden in setupCallMedia (visible during video calls, hidden during audio calls) - Empty tab container during Google account setup is now hidden (auth-tabs div hidden in showGoogleSetup, restored in showTab)eeb3363 -
group calls, flat group permissions, fix dropdown directionβ
ausername-12345- Dropdown now goes down (top-full mt-2) instead of up - Group chats: removed admin role β any member can add/remove members - Group calling: mesh WebRTC with multi-participant video grid - group_call_start / accept / leave / end signaling - Each participant creates peer connections to all others (lower ID sends offer, higher ID sends answer) - 2-column grid for remote videos + local preview - Incoming group call ringing with accept/reject - Call button works for both DMs and group chats - Read receipts already excluded from GCs (no changes needed)76078c0 -
fix read receipts and add WebRTC audio/video callingβ
ausername-12345- Read receipts: sendReadReceipt now called when message arrives in already-open DM (not just when opening chat), so ββββ updates live - Added call button in DM header with Video Call / Audio Call dropdown - WebRTC signaling via WebSocket: call_offer/call_answer/ice_candidate/call_end - Incoming call modal with accept/reject, active call modal with mute/end - Local video preview (PIP), remote video full-size for video calls - Audio call shows large avatar with call controls - Call button hidden in group chats (DMs only for now)c89717a -
fix read receipts (ββ) not appearing and timezone mismatchβ
ausername-12345- Backend handle_read now notifies message senders via read_receipt WS event - Frontend handleReadReceipt updates cached messages and re-renders ββββ - Replaced toLocaleTimeString with relative timeAgo (e.g. '2m ago', '1h ago') so both users see consistent timestamps regardless of timezone - Optimistic messages now always cache when conversation id existsa433909 -
glass theme, read receipts, badge clearing, fix squished messages
ausername-123454773cef -
fix message squish + optimistic send
ausername-12345ff7a24d -
auto-create dms on first message + notifications
ausername-12345eab9f14 -
add set-password option for google accounts
ausername-123451e13409 -
reuse register endpoint for google setup
ausername-1234573d7d26