Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported event: m.sticker #1047

Closed
Helvio88 opened this issue Jun 7, 2023 · 4 comments · Fixed by ruma/ruma#1820
Closed

Unsupported event: m.sticker #1047

Helvio88 opened this issue Jun 7, 2023 · 4 comments · Fixed by ruma/ruma#1820
Labels
A-Bridge A-Media A-Timeline O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@Helvio88
Copy link

Helvio88 commented Jun 7, 2023

Steps to reproduce

I'm running a Synapse Matrix server + SyncV3 + Element X

My Matrix is WhatsApp Bridged with mautrix-whatsapp

Whenever I receive Stickers (a WhatsApp 'webp' image), when bridged to X, I get the following:
sticker

Element works fine.

Outcome

What did you expect?

Image to be shown

What happened instead?

Error message:
Unsupported event: m.sticker

Your phone model

iPhone 12

Operating system version

iOS 16.5

Application version

Version: 1.1.1 (48)

Homeserver

Synapse (docker:latest)

Will you send logs?

No

@pixlwave
Copy link
Member

As described in the spec, the URL should exist. The error seems to indicate that it is missing.

Can you confirm by sharing the source of the event that this is the case?

@pixlwave pixlwave added A-Timeline A-Media X-Needs-Info This issue is blocked awaiting information from the reporter labels Jul 11, 2023
@Helvio88
Copy link
Author

This is the decrypted source. I changed my server to a generic URL:

{
"type" : "m.sticker",
"content" : {
"body" : "image.webp",
"info" : {
"size" : 806410,
"mimetype" : "image/webp",
"thumbnail_file" : {
"hashes" : {
"sha256" : "PAhQz/77F3Ked6XY9Al+nrA8Kcmyaj5nioGy7BmdryQ"
},
"iv" : "QL3WgMg0k+AAAAAAAAAAAA",
"key" : {
"k" : "X--AYMhBpqqkuxJR3Um_r7r8EsRf6KiXQbZHEGQ3yEI",
"ext" : true,
"key_ops" : [
"encrypt",
"decrypt"
],
"alg" : "A256CTR",
"kty" : "oct"
},
"url" : "mxc://matrix.my.tld/RcNUsEJIpSLFwGYgvSlsmudy",
"v" : "v2"
},
"w" : 190,
"h" : 190,
"thumbnail_info" : {
"size" : 806410,
"mimetype" : "image/webp",
"w" : 190,
"h" : 190
}
},
"file" : {
"hashes" : {
"sha256" : "PAhQz/77F3Ked6XY9Al+nrA8Kcmyaj5nioGy7BmdryQ"
},
"iv" : "QL3WgMg0k+AAAAAAAAAAAA",
"key" : {
"k" : "X--AYMhBpqqkuxJR3Um_r7r8EsRf6KiXQbZHEGQ3yEI",
"ext" : true,
"key_ops" : [
"encrypt",
"decrypt"
],
"alg" : "A256CTR",
"kty" : "oct"
},
"url" : "mxc://matrix.my.tld/RcNUsEJIpSLFwGYgvSlsmudy",
"v" : "v2"
}
},
"origin_server_ts" : 0
}

@kittykat kittykat added A-Bridge and removed X-Needs-Info This issue is blocked awaiting information from the reporter labels Jul 13, 2023
@stefanceriu stefanceriu added S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Uncommon Most users are unlikely to come across this or unexpected workflow labels Jul 19, 2023
@pixlwave
Copy link
Member

pixlwave commented Nov 6, 2023

Linking this to the issue on the bridge: mautrix/whatsapp#662

@pixlwave
Copy link
Member

pixlwave commented Oct 2, 2024

Looks like this was fixed in Ruma.

@pixlwave pixlwave closed this as completed Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Bridge A-Media A-Timeline O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
5 participants