Browse Source

Upgrade matrix-sdk

Brings in fixes for sending media with the unauthenticated endpoints.
fractal-12
Kévin Commaille 7 months ago
parent
commit
a3b132f86a
No known key found for this signature in database
GPG Key ID: F26F4BE20A08255B
  1. 34
      Cargo.lock
  2. 8
      Cargo.toml
  3. 2
      src/session/model/room/timeline/event/mod.rs

34
Cargo.lock generated

@ -3029,7 +3029,7 @@ dependencies = [
[[package]]
name = "matrix-sdk"
version = "0.13.0"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=872713c4bc024ac9246dfa72f834584ebe92a3d7#872713c4bc024ac9246dfa72f834584ebe92a3d7"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=a9ce1c6e5822b8eb8411c5bc257049d9a9d15884#a9ce1c6e5822b8eb8411c5bc257049d9a9d15884"
dependencies = [
"anymap2",
"aquamarine",
@ -3086,7 +3086,7 @@ dependencies = [
[[package]]
name = "matrix-sdk-base"
version = "0.13.0"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=872713c4bc024ac9246dfa72f834584ebe92a3d7#872713c4bc024ac9246dfa72f834584ebe92a3d7"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=a9ce1c6e5822b8eb8411c5bc257049d9a9d15884#a9ce1c6e5822b8eb8411c5bc257049d9a9d15884"
dependencies = [
"as_variant",
"async-trait",
@ -3113,7 +3113,7 @@ dependencies = [
[[package]]
name = "matrix-sdk-common"
version = "0.13.0"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=872713c4bc024ac9246dfa72f834584ebe92a3d7#872713c4bc024ac9246dfa72f834584ebe92a3d7"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=a9ce1c6e5822b8eb8411c5bc257049d9a9d15884#a9ce1c6e5822b8eb8411c5bc257049d9a9d15884"
dependencies = [
"eyeball-im",
"futures-core",
@ -3136,7 +3136,7 @@ dependencies = [
[[package]]
name = "matrix-sdk-crypto"
version = "0.13.0"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=872713c4bc024ac9246dfa72f834584ebe92a3d7#872713c4bc024ac9246dfa72f834584ebe92a3d7"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=a9ce1c6e5822b8eb8411c5bc257049d9a9d15884#a9ce1c6e5822b8eb8411c5bc257049d9a9d15884"
dependencies = [
"aes",
"aquamarine",
@ -3177,7 +3177,7 @@ dependencies = [
[[package]]
name = "matrix-sdk-indexeddb"
version = "0.13.0"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=872713c4bc024ac9246dfa72f834584ebe92a3d7#872713c4bc024ac9246dfa72f834584ebe92a3d7"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=a9ce1c6e5822b8eb8411c5bc257049d9a9d15884#a9ce1c6e5822b8eb8411c5bc257049d9a9d15884"
dependencies = [
"anyhow",
"async-trait",
@ -3205,7 +3205,7 @@ dependencies = [
[[package]]
name = "matrix-sdk-qrcode"
version = "0.13.0"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=872713c4bc024ac9246dfa72f834584ebe92a3d7#872713c4bc024ac9246dfa72f834584ebe92a3d7"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=a9ce1c6e5822b8eb8411c5bc257049d9a9d15884#a9ce1c6e5822b8eb8411c5bc257049d9a9d15884"
dependencies = [
"byteorder",
"qrcode",
@ -3217,7 +3217,7 @@ dependencies = [
[[package]]
name = "matrix-sdk-sqlite"
version = "0.13.0"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=872713c4bc024ac9246dfa72f834584ebe92a3d7#872713c4bc024ac9246dfa72f834584ebe92a3d7"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=a9ce1c6e5822b8eb8411c5bc257049d9a9d15884#a9ce1c6e5822b8eb8411c5bc257049d9a9d15884"
dependencies = [
"as_variant",
"async-trait",
@ -3242,7 +3242,7 @@ dependencies = [
[[package]]
name = "matrix-sdk-store-encryption"
version = "0.13.0"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=872713c4bc024ac9246dfa72f834584ebe92a3d7#872713c4bc024ac9246dfa72f834584ebe92a3d7"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=a9ce1c6e5822b8eb8411c5bc257049d9a9d15884#a9ce1c6e5822b8eb8411c5bc257049d9a9d15884"
dependencies = [
"base64",
"blake3",
@ -3261,7 +3261,7 @@ dependencies = [
[[package]]
name = "matrix-sdk-ui"
version = "0.13.0"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=872713c4bc024ac9246dfa72f834584ebe92a3d7#872713c4bc024ac9246dfa72f834584ebe92a3d7"
source = "git+https://github.com/matrix-org/matrix-rust-sdk.git?rev=a9ce1c6e5822b8eb8411c5bc257049d9a9d15884#a9ce1c6e5822b8eb8411c5bc257049d9a9d15884"
dependencies = [
"as_variant",
"async-rx",
@ -4237,7 +4237,7 @@ dependencies = [
[[package]]
name = "ruma"
version = "0.12.6"
source = "git+https://github.com/ruma/ruma.git?rev=e73f302e4df7f5f0511fca1aa43853d4cf8416c8#e73f302e4df7f5f0511fca1aa43853d4cf8416c8"
source = "git+https://github.com/ruma/ruma.git?rev=a2fe858133ba932b4bda730dc7472c9c985739a0#a2fe858133ba932b4bda730dc7472c9c985739a0"
dependencies = [
"assign",
"js_int",
@ -4253,7 +4253,7 @@ dependencies = [
[[package]]
name = "ruma-client-api"
version = "0.20.4"
source = "git+https://github.com/ruma/ruma.git?rev=e73f302e4df7f5f0511fca1aa43853d4cf8416c8#e73f302e4df7f5f0511fca1aa43853d4cf8416c8"
source = "git+https://github.com/ruma/ruma.git?rev=a2fe858133ba932b4bda730dc7472c9c985739a0#a2fe858133ba932b4bda730dc7472c9c985739a0"
dependencies = [
"as_variant",
"assign",
@ -4276,7 +4276,7 @@ dependencies = [
[[package]]
name = "ruma-common"
version = "0.15.4"
source = "git+https://github.com/ruma/ruma.git?rev=e73f302e4df7f5f0511fca1aa43853d4cf8416c8#e73f302e4df7f5f0511fca1aa43853d4cf8416c8"
source = "git+https://github.com/ruma/ruma.git?rev=a2fe858133ba932b4bda730dc7472c9c985739a0#a2fe858133ba932b4bda730dc7472c9c985739a0"
dependencies = [
"as_variant",
"base64",
@ -4309,7 +4309,7 @@ dependencies = [
[[package]]
name = "ruma-events"
version = "0.30.5"
source = "git+https://github.com/ruma/ruma.git?rev=e73f302e4df7f5f0511fca1aa43853d4cf8416c8#e73f302e4df7f5f0511fca1aa43853d4cf8416c8"
source = "git+https://github.com/ruma/ruma.git?rev=a2fe858133ba932b4bda730dc7472c9c985739a0#a2fe858133ba932b4bda730dc7472c9c985739a0"
dependencies = [
"as_variant",
"indexmap",
@ -4335,7 +4335,7 @@ dependencies = [
[[package]]
name = "ruma-federation-api"
version = "0.11.2"
source = "git+https://github.com/ruma/ruma.git?rev=e73f302e4df7f5f0511fca1aa43853d4cf8416c8#e73f302e4df7f5f0511fca1aa43853d4cf8416c8"
source = "git+https://github.com/ruma/ruma.git?rev=a2fe858133ba932b4bda730dc7472c9c985739a0#a2fe858133ba932b4bda730dc7472c9c985739a0"
dependencies = [
"headers",
"http",
@ -4353,7 +4353,7 @@ dependencies = [
[[package]]
name = "ruma-html"
version = "0.4.1"
source = "git+https://github.com/ruma/ruma.git?rev=e73f302e4df7f5f0511fca1aa43853d4cf8416c8#e73f302e4df7f5f0511fca1aa43853d4cf8416c8"
source = "git+https://github.com/ruma/ruma.git?rev=a2fe858133ba932b4bda730dc7472c9c985739a0#a2fe858133ba932b4bda730dc7472c9c985739a0"
dependencies = [
"as_variant",
"html5ever",
@ -4365,7 +4365,7 @@ dependencies = [
[[package]]
name = "ruma-identifiers-validation"
version = "0.10.1"
source = "git+https://github.com/ruma/ruma.git?rev=e73f302e4df7f5f0511fca1aa43853d4cf8416c8#e73f302e4df7f5f0511fca1aa43853d4cf8416c8"
source = "git+https://github.com/ruma/ruma.git?rev=a2fe858133ba932b4bda730dc7472c9c985739a0#a2fe858133ba932b4bda730dc7472c9c985739a0"
dependencies = [
"js_int",
"thiserror 2.0.12",
@ -4374,7 +4374,7 @@ dependencies = [
[[package]]
name = "ruma-macros"
version = "0.15.2"
source = "git+https://github.com/ruma/ruma.git?rev=e73f302e4df7f5f0511fca1aa43853d4cf8416c8#e73f302e4df7f5f0511fca1aa43853d4cf8416c8"
source = "git+https://github.com/ruma/ruma.git?rev=a2fe858133ba932b4bda730dc7472c9c985739a0#a2fe858133ba932b4bda730dc7472c9c985739a0"
dependencies = [
"cfg-if",
"proc-macro-crate",

8
Cargo.toml

@ -74,23 +74,23 @@ sourceview = { package = "sourceview5", version = "0.9" }
[dependencies.matrix-sdk]
# version = "0.13"
git = "https://github.com/matrix-org/matrix-rust-sdk.git"
rev = "872713c4bc024ac9246dfa72f834584ebe92a3d7"
rev = "a9ce1c6e5822b8eb8411c5bc257049d9a9d15884"
features = ["socks", "sso-login", "markdown", "qrcode"]
[dependencies.matrix-sdk-store-encryption]
# version = "0.13"
git = "https://github.com/matrix-org/matrix-rust-sdk.git"
rev = "872713c4bc024ac9246dfa72f834584ebe92a3d7"
rev = "a9ce1c6e5822b8eb8411c5bc257049d9a9d15884"
[dependencies.matrix-sdk-ui]
# version = "0.13"
git = "https://github.com/matrix-org/matrix-rust-sdk.git"
rev = "872713c4bc024ac9246dfa72f834584ebe92a3d7"
rev = "a9ce1c6e5822b8eb8411c5bc257049d9a9d15884"
[dependencies.ruma]
# version = "0.12.5"
git = "https://github.com/ruma/ruma.git"
rev = "e73f302e4df7f5f0511fca1aa43853d4cf8416c8"
rev = "a2fe858133ba932b4bda730dc7472c9c985739a0"
features = [
"client-api-c",
"markdown",

2
src/session/model/room/timeline/event/mod.rs

@ -316,7 +316,7 @@ mod imp {
if let Some(send_state) = item.send_state() {
match send_state {
EventSendState::NotSentYet => return MessageState::Sending,
EventSendState::NotSentYet { .. } => return MessageState::Sending,
EventSendState::SendingFailed {
error,
is_recoverable,

Loading…
Cancel
Save