Warn and block sending on verification violation (#3679)

* feat(crypto): Warn and block sending on verification violation

* fixup: Fix ComposerToolbar previews

* fixup! add ComposerToolBarViewModelTests for canSend

* add new preview tests for verification violations

* Use `deferFulfillment`s in the unit tests.

---------

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
This commit is contained in:
Valere
2025-01-20 17:29:34 +01:00
committed by GitHub
parent 0fd8df52ab
commit f20847f62b
21 changed files with 419 additions and 22 deletions
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a582ff37f77d4a6106eb386f136598990ed0821fed095db3705680356fe5d30d
size 75209
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5664b9a568d35763da35eea9ecac2732971d6b76baef992d387eb689916f13e3
size 75627
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe562e2446e07d30c5b2b93c19d567ea4f1be3ed503c8029c72aad22a74800aa
size 34263
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:820597003dbb92d692e7fc45314af9fff8b50ffc42cede115b65ce12ebf992a0
size 34687
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf9ffd7c5b2d3e1ac7ccafbae7656f91c12c87e434910931ce77628ea9b4dd7d
size 162432
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ee6a0474e411cc8ea9352b32e0386fb9c7c36c6bbe3871441426f4ea623ded9d
size 174972
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a2ac111a641041292a796bb237a01ba4eca8edf0c78363c2baaa4f33df44947
size 79626
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7c3d5e1f0a2a0fa3c2f5ebab008ad186c5479b08880337b97028f64f523a39f
size 112397