Commit Graph
1944 Commits
Author SHA1 Message Date
Evie Gauthier 8fd844e5cd fix: unhandled promise rejection in media blob cache
Fixes unhandled promise rejection when multiple components fetch
the same media URL and the initial request fails with 401.

### Root Cause
When a blob fetch request was in-flight and failed, subsequent callers
awaiting the same promise would receive an unhandled rejection because
the await was outside the try-catch block.

### Changes
1. useBlobCache: Wrap inflightRequests.get() await in try-catch
2. useBlobCache: Improve error message to include HTTP status
3. Service Worker: Add logging for session retrieval failures to
   diagnose authentication issues with media requests

Addresses Sentry issue with 401 errors on authenticated media endpoints.
2026-03-13 21:20:22 -04:00
7w1 1b97bb8780 fix call preferences not persisting 2026-03-13 14:16:09 -05:00
7w1 6cd5704e18 Merge pull request #193 from dozro/sonar-qube/fixes-2026-03-11
[internal] Fix a few maintainability issues raised by SonarQube
2026-03-12 22:28:30 -05:00
7w1 ee5b34c99c Merge pull request #236 from dozro/fix/sticker-add-encrypted-sticker
Improve sticker handling and update documentation on limitations
2026-03-12 22:17:48 -05:00
7w1 466442cbbb Merge pull request #233 from Just-Insane/fix/notification-handling
Fix notification handling (edits, reactions)
2026-03-12 22:10:15 -05:00
7w1 4e4521a863 Merge pull request #231 from Just-Insane/fix/badge-positioning
Fix badge positioning and alignment across sidebar components
2026-03-12 22:00:59 -05:00
7w1 99499ba462 Merge pull request #234 from Just-Insane/fix/ui-bugs
Fix reaction clicks, zoom persistence, and empty message rendering
2026-03-12 22:00:48 -05:00
7w1 d63ea73995 Merge pull request #240 from dozro/enh/exception-page
Add error page for enhanced reporting and user experience
2026-03-12 21:58:58 -05:00
7w1 6b5466e274 Merge pull request #232 from Just-Insane/perf/sliding-sync
Optimize sliding sync with progressive loading
2026-03-12 21:11:04 -05:00
7w1 931d7459a0 Merge pull request #238 from dozro/feat/tombstone-toggle
Add settings toggle for displaying deleted message tombstones
2026-03-12 20:30:59 -05:00
Rye a6ad473313 add error page for improved error reporting and user experience 2026-03-13 00:51:07 +01:00
Rye 74ce2923e4 add tombstone setting toggle title for improved user guidance 2026-03-12 23:20:23 +01:00
Rye 478b12f7ab add settings toggle for showing tombstones of deleted messages 2026-03-12 23:11:20 +01:00
7w1 91febe0afe fix bubble layout overflow 2026-03-12 16:44:06 -05:00
Rye a96b5954cb docs: adding documentation about the current limitations of quick adding stickers in case of them being encrypted 2026-03-12 22:26:27 +01:00
Rye 58808ebccc fix: handle undefined sticker URLs in MessageInternal 2026-03-12 21:59:55 +01:00
Evie Gauthier 3b98dfc89f fix: auto-format sliding sync files with prettier
- All TypeScript and ESLint checks passing
2026-03-12 14:54:45 -04:00
Evie Gauthier 1d12be5f31 fix: correct isNotificationEvent function usage
- Update BackgroundNotifications.tsx to use single-argument isNotificationEvent
- Update roomToUnread.ts to use single-argument isNotificationEvent
- Auto-format files with prettier
- All TypeScript and ESLint checks passing
2026-03-12 14:53:44 -04:00
Evie Gauthier 9b68143a28 fix: eliminate nested ternary and add missing toRem imports
- Refactor DirectDMsList.tsx to use renderAvatar() function instead of nested ternaries
- Add toRem import to InboxTab.tsx and UnverifiedTab.tsx
- All ESLint and TypeScript checks now passing
2026-03-12 14:51:54 -04:00
Evie Gauthier 27fe27342a fix: correct isNotificationEvent function usage 2026-03-12 14:47:04 -04:00
Evie Gauthier a38b519f15 perf: optimize sliding sync with progressive loading and improved timeline management 2026-03-12 14:26:16 -04:00
Evie Gauthier bd31de7b54 fix: notification handling with null safety and improved logic 2026-03-12 14:25:54 -04:00
Evie Gauthier e1c31a2338 fix: badge positioning and alignment across sidebar components 2026-03-12 14:25:32 -04:00
Evie Gauthier 51abbbaf2a fix: reaction clicks, zoom persistence, and empty message rendering 2026-03-12 14:25:08 -04:00
7w1 87106292e7 fix #227
adds a check to make sure the pronoun array is an actual array
2026-03-12 13:19:27 -05:00
7w1 00b9ded364 Merge pull request #212 from Just-Insane/feat/group-dm-avatars-clean
feat: Add DM button to sidebar when there are unread DMs
2026-03-11 22:54:28 -05:00
Evie Gauthier f385cadf09 Remove unused import of config from DirectDMsList.css.ts 2026-03-11 23:51:27 -04:00
Evie Gauthier 19feda129d Simplify groupMembers mapping in DirectDMsList 2026-03-11 23:51:02 -04:00
Evie Gauthier 9614134c2f Remove debug log for group DM members
Removed debug logging for group DMs.
2026-03-11 23:48:46 -04:00
Evie Gauthier fa243abbd3 Merge branch 'dev' into feat/notification-improvements 2026-03-11 23:46:34 -04:00
Evie Gauthier c6bb5ed49c feat: add triangle avatar layout for group DMs with bot filtering
- Display up to 3 member avatars in triangle formation
- Most recent sender at top center, others at bottom corners
- Filter out bridge bots (ending with 'bot') while keeping bridged users
- Uses room.loadMembersIfNeeded() for lazy-loaded member state
- Respects 'Show DM Counts' notification setting
- 24px avatars in 40px container with proper spacing and borders
2026-03-11 23:37:02 -04:00
7w1 011052214e DM Calls (#165)
* Accepting call things & placement in dms

* evil things to make liner happy

* be happy

* make ringtone stfu

* add room call button and make popup not popup when calling yourself

* support msc4075 maybe possibly idk

* happy lint make

* play sound on outgoing call

* resizeable dm call window

* add custom ringtone and fix audio looping forever

* notifications that will total work trust

* make ringtone and modal stuff actually work after someone leaves call

* hide button for rooms with no perms

* changeset

* update formatting things to work with new controls

* update control styling for mobile

* fix voice appearing in normal voice room chats

* fix non-interactable element call elements

* redo prescreen controls for mobile and dms

* only join call rooms automatically
2026-03-11 21:17:51 -05:00
Evie Gauthier 8476116ed8 Fix: Only send reaction notifications for reactions to your own messages 2026-03-11 20:50:37 -04:00
Rye 14dcb504e0 fix sonarqube issues
fixed sonarqube issues:
- typescript:S7753
- typescript:S7764
- typescript:S7755
- typescript:S6582
2026-03-12 00:40:57 +01:00
Rye e561c18040 fix sonarqube issues
fixed sonarqube issues:
- typescript:S7781
- typescript:S7735
- typescript:S7784

ignored sonarqube issues (for now):
- typescript:S3776
- typescript:S4123
2026-03-11 23:55:16 +01:00
Rye af013d797d fixing sonarqube issues
fixed sonarqube issues:
- typescript:S6759
- typescript:S7781
- typescript:S4822

ignored sonarqube issues:
- typescript:S7735
2026-03-11 23:37:11 +01:00
Rye 6ec4f9911f fix: address metadata leak in message forwarding from private rooms 2026-03-11 23:23:35 +01:00
hazre b71320ec17 feat: add dynamic device display name 2026-03-11 22:12:31 +01:00
7w1 20c5c29bbf Merge pull request #164 from Sugaryyyy/dev
add max-width to custom emotes to prevent overly wide emotes
2026-03-11 15:46:39 -05:00
Evie Gauthier 976d2e8db1 fix: comprehensive notification improvements for sliding sync
- Fix DM notifications using multiple detection signals (m.direct + member count heuristic)
- Fix encrypted event handling with proper event type checking and decryption
- Use fixupNotifications() to reconcile Sliding Sync notification count drift
- Force DM notifications for all messages (excluding mute/mentions-only settings)
- Implement robust stale count detection and correction for accurate badge numbers
- Add timeline walking fallback for computing real counts when SDK counters are stale
- Improve notification type detection for DMs with proper mute checks
- Show in-app banner for background account notifications when app is visible
- Add sound notifications for all accounts (active and background)
- Always force reaction notifications to show for all room types
- Improve background notification routing - build payload first, then route by visibility

Known Issues:
- Background account notifications: System/push notifications do not work when app is hidden
- Mobile keyboard banner positioning: Banner not properly positioned when keyboard is open on iOS
2026-03-11 16:34:06 -04:00
7w1 8f394a1a87 merge upstream and remove duplicate voice room button 2026-03-11 14:02:47 -05:00
hazre fcfe06fc95 fix: resolve peer dependency and matrix-sdk-crypto-wasm issues 2026-03-11 17:23:52 +01:00
hazre 8f9095a393 fix: type and fmt issues 2026-03-11 17:20:05 +01:00
Krishan 6a05ff5840 chore(release): v4.11.1 [skip ci] (#2765)
* chore(release): 4.11.0 [skip ci]

* chore(release): 4.11.1 [skip ci]
2026-03-11 23:07:37 +11:00
7w1 9bc814597f Merge pull request #129 from Rosy-iso/feat/ui-for-commands
feat: Implement an UI for commands
2026-03-11 00:36:45 -05:00
7w1 718367909f Merge branch 'dev' into sable-edit-history 2026-03-11 00:28:36 -05:00
7w1 44e7bf0475 Merge branch 'dev' into feat/silent-replies 2026-03-11 00:18:47 -05:00
7w1 2e0980d53b Merge pull request #163 from dozro/a11y/message-composing
a11y: message composing
2026-03-10 23:59:30 -05:00
Krishan b76ad3caaf chore(release): 4.11.0 [skip ci] 2026-03-11 04:03:48 +00:00
Rosy.iso 4ce4dec4a9 format code 2026-03-11 00:20:55 +01:00