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

Threema::Receive::Image is never reached #18

Open
roschaefer opened this issue Feb 15, 2021 · 2 comments · May be fixed by #33
Open

Threema::Receive::Image is never reached #18

roschaefer opened this issue Feb 15, 2021 · 2 comments · May be fixed by #33

Comments

@roschaefer
Copy link
Collaborator

This is a follow-up of #17

During debugging I noticed that no matter if I send an image as "file" or as "image", this class is never instantiated:
https://github.com/thorsteneckel/threema/blob/master/lib/threema/receive/image.rb

Instead it's always Threema::Receive::File that's being created.

Here's what I do:
Swappshot Mon Feb 15 13:03:32 2021

@thorsteneckel can you confirm that the class did serve it's purpose in the past?

@thorsteneckel
Copy link
Collaborator

Yes, I can confirm that I've sent and received cat images in the past to test this. However, it has been a while and Threema was super productive in the meantime while this repository didn't receive any updates.

@rugk
Copy link
Contributor

rugk commented Feb 17, 2021

AFAIK the Threema app itself also only uses file messages and has deprecated image messages. Also the Threema Gateway API does not support images or video messages anymore.

At 2020-10-29 there was a message about that:

Liebe Kundin, lieber Kunde

In Zukunft werden die Threema-Apps Bilder und Videos als Datei-Nachrichten und nicht mehr wie bisher als Bild- bzw. Video-Nachrichten versenden.

Für App-Nutzer bleibt alles beim Alten. Sollte aber Ihre Gateway-Anwendung voraussetzen, dass Nachrichten des Typs «Bild» eingehen, ist eine Erweiterung erforderlich, welche Nachrichten des Typs «Datei» zulässt (vgl. https://gateway.threema.ch/de/developer/api#E2EMessageFormat).

Als Erstes führt Threema für iOS diese Neuerung ein. Das entsprechende Update auf Version 4.6.3 wird voraussichtlich nächste >oder übernächste Woche erscheinen. Threema für Android und die Threema Work-Apps werden später folgen.

Bei Fragen stehen wir gerne zu Ihrer Verfügung.

Freundliche Grüsse
Threema

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants