Commit graph

1144 commits

Author SHA1 Message Date
James Reilly
99cae93ab6 feat: Disable webcam by default using callIntent='audio' 2026-02-14 11:27:07 -05:00
hazre
9bc157aff2
Merge remote-tracking branch 'upstream/dev' into feat/element-call 2026-02-14 14:11:28 +01:00
Andrew Murphy
9d49418a1f
Set m.fully_read marker when marking rooms as read (#2587)
Previously markAsRead() only sent m.read receipts via sendReadReceipt().
This meant the read position was not persisted across page refreshes,
especially noticeable in bridged rooms.

Now uses setRoomReadMarkers() which sets both:
- m.fully_read marker (persistent read position)
- m.read receipt

Fixes issue where rooms would still show as unread after refresh.
2026-02-14 17:32:10 +11:00
Ajay Bura
3522751a15
Prevent invalid mxc from getting used (#2609) 2026-02-14 17:12:28 +11:00
Ajay Bura
074c555294
Post session info to service worker instead of asking from sw (#2605)
post session info to service worker instead of asking from sw on each request
2026-02-14 17:11:36 +11:00
hazre
23b1216e37
fix: reset room name state when room instance changes 2026-02-13 10:21:12 +01:00
hazre
d2348d2ea2
fix: preserve navigation context when opening non-call rooms 2026-02-13 10:20:42 +01:00
hazre
92f490e9d9
feat: show connected/connecting call status 2026-02-13 01:46:24 +01:00
James
efb3e115db
fix: permissions and room icon resolution (#2)
* Initialize call state upon room creation for call rooms, remove subsequent useless permission

* handle case of missing call permissions

* use call icon for room item summary when room is call room

* replace previous icon src resolution function with a more robust approach

* replace usages of previous icon resolution function with new implementation

* fix room name not updating for a while when changed

* set up framework for room power level overrides upon room creation

* override join call permission to all members upon room creation

* fix broken usages of RoomIcon

* remove unneeded import

* remove unnecessary logic

* format with prettier
2026-02-13 01:03:46 +01:00
haz
9554b31c7d
Merge branch 'dev' into feat/element-call 2026-02-12 13:38:00 +01:00
Andrew Murphy
fd37dfe3f9
Fix muted rooms showing unread badges (#2581)
fix: detect muted rooms with empty actions array

The mute detection was checking for `actions[0] === "dont_notify"` but
Cinny sets `actions: []` (empty array) when muting a room, which is
the correct behavior per Matrix spec where empty actions means no
notification.

This caused muted rooms to still show unread badges and contribute to
space badge counts.

Fixes the isMutedRule check to handle both:
- Empty actions array (current Matrix spec)
- "dont_notify" string (deprecated but may exist in older rules)
2026-02-12 21:45:37 +11:00
Gimle Larpes
1ce6ca2b07
Re-add mEvent.getSender() === mx.getUserId() check for deletion of messages (#2607)
* hide "Delete Message" if it is forbidden

* Fix the stuff I broke :/
2026-02-12 21:40:11 +11:00
Ajay Bura
e04aeb865f
Merge branch 'dev' into feat/element-call 2026-02-12 13:52:55 +05:30
Gimle Larpes
ca82aa283a
Hide "Delete Message" if it is forbidden (#2602)
hide "Delete Message" if it is forbidden
2026-02-12 16:27:17 +11:00
YoJames2019
a6f75eb5c5 fix page header background color on room view header 2026-02-11 14:07:59 -05:00
hazre
afac47d312
style: blend header and room input button styles in call nav 2026-02-11 18:38:00 +01:00
hazre
4f498af458
fix: restore header icon button fill behavior
Fixes regression from b074d421b66eb4d8b600dfa55b967e6c4f783044.
2026-02-11 18:03:41 +01:00
hazre
7ceba0301e
fix: keep call media controls visible before joining 2026-02-11 16:24:38 +01:00
hazre
9dbe53a36a
fix: clean up call nav/call view console warnings 2026-02-11 15:18:16 +01:00
hazre
47f1d1183a
fix: show call nav status while active call is ongoing 2026-02-11 14:51:43 +01:00
hazre
e01009fd07
Merge remote-tracking branch 'upstream/dev' into feat/element-call 2026-02-11 14:26:40 +01:00
YoJames2019
008669efdf format using prettier rules from project prettierrc 2026-02-10 22:55:26 -05:00
YoJames2019
9562103210 remove debug logs 2026-02-10 22:39:53 -05:00
YoJames2019
40957632d5 clean up ts/eslint errors 2026-02-10 10:56:00 -05:00
YoJames2019
5b3a0f1334 set default mic state to enabled 2026-02-09 22:22:08 -05:00
YoJames2019
990a92a32c redo roomcallnavstatus ui, force user preferred mute/video states when first joining calls, update variable names and remove unnecessary logic 2026-02-09 22:17:28 -05:00
YoJames2019
e481116b04 update text spacing 2026-02-09 01:06:08 -05:00
YoJames2019
9e1aab2973 bump element call to 0.16.3, apply cinny theme to element call ui, replace element call lobby (backup iframe) with custom ui and only use element call for the in-call ui 2026-02-09 00:45:48 -05:00
YoJames2019
7bca8fb911 add call related permissions to room permissions 2026-02-08 08:01:52 -05:00
Santhoshkumar044
073a9f5786
Fix room alias mention triggering room-wide notifications (#2562)
Some checks are pending
Deploy to Netlify (dev) / Deploy to Netlify (push) Waiting to run
* fix: prevent room alias mentions from triggering @room notifications

* fix: Simplify room mention to exact match on @room
2026-01-12 23:21:00 +11:00
willow
0f61f2f328
Fix typo: change "Advance Options" to "Advanced Options" (#2537) 2025-11-27 16:01:40 +11:00
Krishan
c88cb4bca9
Release v4.10.2 (#2528) 2025-11-05 17:49:56 +11:00
Ajay Bura
e13d97aa98
Fix member are not sorted correctly after last js-sdk update (#2504) 2025-10-15 17:27:11 +11:00
Krishan
958ae8945d
Release v4.10.1 (#2495) 2025-09-29 14:34:38 +10:00
Ginger
b78f6f23b5
Add support to mark videos as spoilers (#2255)
* Add support for MSC4193: Spoilers on Media

* Clarify variable names and wording

* Restore list atom

* Improve spoilered image UX with autoload off

* Use `aria-pressed` to indicate attachment spoiler state

* Improve spoiler button tooltip wording, keep reveal button from conflicting with load errors

* Make it possible to mark videos as spoilers

* Allow videos to be marked as spoilers when uploaded

* Apply requested changes

* Show a loading spinner on spoiled media when unblurred

---------

Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
2025-09-25 13:41:35 +10:00
Mari
867a47218a
fix: Prevent IME-exiting Enter press from sending message on Safari (#2175)
On most browsers, pressing Enter to end IME composition produces this
sequence of events:
* keydown (keycode 229, key Processing/Unidentified, isComposing true)
* compositionend
* keyup (keycode 13, key Enter, isComposing false)

On Safari, the sequence is different:
* compositionend
* keydown (keycode 229, key Enter, isComposing false)
* keyup (keycode 13, key Enter, isComposing false)

This causes Safari users to mistakenly send their messages when they
press Enter to confirm their choice in an IME.

The workaround is to treat the next keydown with keycode 229 as if it
were part of the IME composition period if it occurs within a short time
of the compositionend event.

Fixes #2103, but needs confirmation from a Safari user.
2025-09-25 09:05:42 +05:30
Ajay Bura
afc251aa7c
Add arrow to message bubbles and improve spacing (#2474)
* Add arrow to message bubbles and improve spacing

* make bubble message avatar smaller

* add bubble layout for event content

* adjust bubble arrow

* fix missing return statement for event content

* hide bubble for event content

* add new arrow to bubble message

* fix avatar username relative alignment

* fix types

* fix code block header background

* revert avatar size and make arrow less sharp

* show event messages timestamp to right when bubble is hidden

* fix avatar base css

* move message header outside bubble

* fix event time appears on left in hidden bubles
2025-09-19 21:06:05 +10:00
Ajay Bura
31efbf73b7
Make emojiboard lightweight on low end devices (#2484)
* extract emoji search component

* extract emoji board tabs component

* extract sidebar component

* extract no stickers component

* create emoji/sticker preview atom

* extract component from emoji/sticker item and sidebar buttons

* fix image group icon not loading

* separate emojis and sticker groups logic

* extract layout and emoji group components

* add virtualization in emoji board groups

* fix scroll to alignment
2025-09-18 11:14:08 +10:00
Ajay Bura
31c6d13fdf
fix ctrl + k hotkey not working for browser with some extensions (#2481) 2025-09-12 21:52:51 +10:00
Ajay Bura
b3497d9ed6
fix room address checkbox prop (#2480) 2025-09-12 21:51:13 +10:00
Krishan
7f40605bfe
Release v4.10.0 (#2472)
* Release v4.10.0

* update version number in about
2025-08-31 21:05:38 +10:00
Ajay Bura
c571c93f61
Fix long space name shrinks three dot menu button (#2471) 2025-08-30 05:30:01 +10:00
Ajay Bura
90ca8ca2c5
Remove unused javascript (#2470) 2025-08-29 19:34:52 +10:00
Ajay Bura
399b1a373e
Add new ctrl/cmd - k search modal (#2467)
* add new search modal

* remove search modal from searchTab

* fix member avatar load for space with 2 member

* use media authentication when rendering avatar

* fix hotkey for macos

* add @ in username

* replace subspace minus separator with em dash
2025-08-27 22:25:49 +10:00
Ajay Bura
c1274e851a
Add option for monochrome mode (#2464) 2025-08-25 23:19:14 +10:00
Ajay Bura
40d0576b15
Update userId placeholder (#2465)
* update userId placeholder

* update sample names from login username input
2025-08-25 23:18:08 +10:00
Ajay Bura
b4266c26b0
New create chat screen (#2463)
* fix dm invite appears in home

* use migrated function for convert to dm/room commands

* add new create chat screen
2025-08-24 22:40:44 +10:00
Ajay Bura
23aa5c6f94
Add option to view user avatar (#2462) 2025-08-24 22:36:45 +10:00
Ajay Bura
4056cbb11c
Hide message button from own profile (#2461) 2025-08-24 22:35:16 +10:00
Ajay Bura
13cdcbcdb1
New invite user to room dialog (#2460)
* fix 0 displayed in invite with no timestamp

* support displaying invite reason for receiver

* show invite reason as compact message

* remove unused import

* revert: show invite reason as compact message

* remove unused import

* add new invite prompt
2025-08-24 22:34:21 +10:00