Skip to content

Update globalBlacklistUnverifiedDevices on setting change#31983

Merged
kaylendog merged 7 commits intodevelopfrom
kaylendog/eid/watch-setting
Feb 10, 2026
Merged

Update globalBlacklistUnverifiedDevices on setting change#31983
kaylendog merged 7 commits intodevelopfrom
kaylendog/eid/watch-setting

Conversation

@kaylendog
Copy link
Copy Markdown
Contributor

@kaylendog kaylendog commented Feb 6, 2026

Fixes #31606. I'm a little hesitant to introduce new logic to MatrixChat since it's already a very large file, but I'm not sure where would be a better place.

Checklist

@kaylendog kaylendog self-assigned this Feb 6, 2026
@kaylendog kaylendog changed the title fix: Update globalBlacklistUnverifiedDevices on setting change Update globalBlacklistUnverifiedDevices on setting change Feb 6, 2026
@kaylendog kaylendog marked this pull request as ready for review February 6, 2026 13:24
@kaylendog kaylendog requested a review from a team as a code owner February 6, 2026 13:24
@kaylendog kaylendog requested review from dbkr and t3chguy February 6, 2026 13:24
"blacklistUnverifiedDevices",
null,
(_settingName, _roomId, _atLevel, blacklistEnabled: boolean) => {
crypto.globalBlacklistUnverifiedDevices = blacklistEnabled;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will also fire on room-account changes, and will clobber the global value with a room-specific value

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fixed in 504b53d

Comment on lines +29 to +32
const bobCredentials = await homeserver.registerUser(`user_${testInfo.testId}_bob`, "password", "bob");
const bobPage = await createNewInstance(browser, bobCredentials, {});
const bobElementApp = new ElementAppPage(bobPage);
await bobElementApp.client.bootstrapCrossSigning(bobCredentials);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had issues returning decrypted events across the environment boundary, so I thought this may be an easier approach.

Copy link
Copy Markdown
Member

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One tiny change, but looks good - thanks!

@t3chguy
Copy link
Copy Markdown
Member

t3chguy commented Feb 9, 2026

@kaylendog
Copy link
Copy Markdown
Contributor Author

The two new tests I've added should cover those missing lines, but I'm a bit worried Codecov won't pick it up...

@kaylendog
Copy link
Copy Markdown
Contributor Author

Ugh, it doesn't seem to pick up the new tests in the coverage report. @t3chguy any ideas?

@t3chguy
Copy link
Copy Markdown
Member

t3chguy commented Feb 10, 2026

Indeed playwright tests don't generate coverage as just loading the app would hit like 50% coverage without a single assertion. Jest unit/integration tests are used for coverage

@kaylendog kaylendog added this pull request to the merge queue Feb 10, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 10, 2026
@kaylendog kaylendog added this pull request to the merge queue Feb 10, 2026
Merged via the queue into develop with commit f6352af Feb 10, 2026
37 checks passed
@kaylendog kaylendog deleted the kaylendog/eid/watch-setting branch February 10, 2026 15:47
alexlebens pushed a commit to alexlebens/infrastructure that referenced this pull request Feb 24, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [vectorim/element-web](https://github.com/element-hq/element-web) | patch | `v1.12.10` → `v1.12.11` |

---

### Release Notes

<details>
<summary>element-hq/element-web (vectorim/element-web)</summary>

### [`v1.12.11`](https://github.com/element-hq/element-web/releases/tag/v1.12.11)

[Compare Source](element-hq/element-web@v1.12.10...v1.12.11)

#### 🦖 Deprecations

- Remove UIFeature.BulkUnverifiedSessionsReminder setting ([#&#8203;31943](element-hq/element-web#31943)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam).
- Remove unused function to auto-rageshake when key backup is not set up ([#&#8203;31942](element-hq/element-web#31942)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam).

#### ✨ Features

- Room list: update the visuals in order to have better contrast ([#&#8203;32421](element-hq/element-web#32421)). Contributed by [@&#8203;florianduros](https://github.com/florianduros).
- Set history visibility to "invited" for DMs and new non-public rooms when creating a room ([#&#8203;31974](element-hq/element-web#31974)). Contributed by [@&#8203;langleyd](https://github.com/langleyd).
- Remove server acl status/summaries from timeline  ([#&#8203;32461](element-hq/element-web#32461)). Contributed by [@&#8203;langleyd](https://github.com/langleyd).
- Update `globalBlacklistUnverifiedDevices` on setting change ([#&#8203;31983](element-hq/element-web#31983)). Contributed by [@&#8203;kaylendog](https://github.com/kaylendog).
- Add badge for history visibiltity to room info panel ([#&#8203;31927](element-hq/element-web#31927)). Contributed by [@&#8203;richvdh](https://github.com/richvdh).

#### 🐛 Bug Fixes

- Default useOnlyCurrentProfiles to true ([#&#8203;32524](element-hq/element-web#32524)). Contributed by [@&#8203;dbkr](https://github.com/dbkr).
- Keep custom theme active after reload ([#&#8203;32506](element-hq/element-web#32506)). Contributed by [@&#8203;florianduros](https://github.com/florianduros).
- Update font format from 'ttf' to 'truetype' ([#&#8203;32493](element-hq/element-web#32493)). Contributed by [@&#8203;all-yall](https://github.com/all-yall).
- Fix videos on Firefox ([#&#8203;32497](element-hq/element-web#32497)). Contributed by [@&#8203;p1gp1g](https://github.com/p1gp1g).
- Use a dedicated FAQ/help entry for key storage. ([#&#8203;32480](element-hq/element-web#32480)). Contributed by [@&#8203;mxandreas](https://github.com/mxandreas).
- Avoid showing two chat timelines side by side after a call ([#&#8203;32484](element-hq/element-web#32484)). Contributed by [@&#8203;robintown](https://github.com/robintown).
- Update screenshot for reactive display name disambiguation ([#&#8203;32431](element-hq/element-web#32431)). Contributed by [@&#8203;aditya-cherukuru](https://github.com/aditya-cherukuru).
- Fix Status Bar being unreadable when the user overrides the default OS light/dark theme. ([#&#8203;32442](element-hq/element-web#32442)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot).
- fix: Remove state\_key: null from Seshat search results ([#&#8203;31524](element-hq/element-web#31524)). Contributed by [@&#8203;shinaoka](https://github.com/shinaoka).
- Fix user pill deserialisation ([#&#8203;31947](element-hq/element-web#31947)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNS43IiwidXBkYXRlZEluVmVyIjoiNDMuMjUuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIiwiaW1hZ2UiXX0=-->

Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/4209
Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net>
Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
alexlebens pushed a commit to alexlebens/infrastructure that referenced this pull request Feb 24, 2026
…213)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [element-hq/element-web](https://github.com/element-hq/element-web) | patch | `v1.12.10` → `v1.12.11` |

---

### Release Notes

<details>
<summary>element-hq/element-web (element-hq/element-web)</summary>

### [`v1.12.11`](https://github.com/element-hq/element-web/releases/tag/v1.12.11)

[Compare Source](element-hq/element-web@v1.12.10...v1.12.11)

#### 🦖 Deprecations

- Remove UIFeature.BulkUnverifiedSessionsReminder setting ([#&#8203;31943](element-hq/element-web#31943)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam).
- Remove unused function to auto-rageshake when key backup is not set up ([#&#8203;31942](element-hq/element-web#31942)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam).

#### ✨ Features

- Room list: update the visuals in order to have better contrast ([#&#8203;32421](element-hq/element-web#32421)). Contributed by [@&#8203;florianduros](https://github.com/florianduros).
- Set history visibility to "invited" for DMs and new non-public rooms when creating a room ([#&#8203;31974](element-hq/element-web#31974)). Contributed by [@&#8203;langleyd](https://github.com/langleyd).
- Remove server acl status/summaries from timeline  ([#&#8203;32461](element-hq/element-web#32461)). Contributed by [@&#8203;langleyd](https://github.com/langleyd).
- Update `globalBlacklistUnverifiedDevices` on setting change ([#&#8203;31983](element-hq/element-web#31983)). Contributed by [@&#8203;kaylendog](https://github.com/kaylendog).
- Add badge for history visibiltity to room info panel ([#&#8203;31927](element-hq/element-web#31927)). Contributed by [@&#8203;richvdh](https://github.com/richvdh).

#### 🐛 Bug Fixes

- Default useOnlyCurrentProfiles to true ([#&#8203;32524](element-hq/element-web#32524)). Contributed by [@&#8203;dbkr](https://github.com/dbkr).
- Keep custom theme active after reload ([#&#8203;32506](element-hq/element-web#32506)). Contributed by [@&#8203;florianduros](https://github.com/florianduros).
- Update font format from 'ttf' to 'truetype' ([#&#8203;32493](element-hq/element-web#32493)). Contributed by [@&#8203;all-yall](https://github.com/all-yall).
- Fix videos on Firefox ([#&#8203;32497](element-hq/element-web#32497)). Contributed by [@&#8203;p1gp1g](https://github.com/p1gp1g).
- Use a dedicated FAQ/help entry for key storage. ([#&#8203;32480](element-hq/element-web#32480)). Contributed by [@&#8203;mxandreas](https://github.com/mxandreas).
- Avoid showing two chat timelines side by side after a call ([#&#8203;32484](element-hq/element-web#32484)). Contributed by [@&#8203;robintown](https://github.com/robintown).
- Update screenshot for reactive display name disambiguation ([#&#8203;32431](element-hq/element-web#32431)). Contributed by [@&#8203;aditya-cherukuru](https://github.com/aditya-cherukuru).
- Fix Status Bar being unreadable when the user overrides the default OS light/dark theme. ([#&#8203;32442](element-hq/element-web#32442)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot).
- fix: Remove state\_key: null from Seshat search results ([#&#8203;31524](element-hq/element-web#31524)). Contributed by [@&#8203;shinaoka](https://github.com/shinaoka).
- Fix user pill deserialisation ([#&#8203;31947](element-hq/element-web#31947)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNS43IiwidXBkYXRlZEluVmVyIjoiNDMuMjUuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIiwiaW1hZ2UiXX0=-->

Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/4213
Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net>
Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The toggle "In encrypted rooms, only send messages to verified users" seems not to be working

3 participants