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

fix: Cannot send pictures #586

Merged
merged 4 commits into from
Sep 27, 2023
Merged

fix: Cannot send pictures #586

merged 4 commits into from
Sep 27, 2023

Conversation

marhkb
Copy link
Collaborator

@marhkb marhkb commented Sep 25, 2023

See commits.

Bildschirmfoto vom 2023-09-25 22-20-50

The field `self_destruct_type` should be set to `None`. Otherwise, tdlib
complains with "Invalid message content self-destruct time specified".
In this turn, we clean up the code a bit, too.
The message weak ref will be `None` after the message has been removed
from the chat history model and after the message's state went from
`Pending` to `Sent`. Accessing the pending message is going to result in
an error.
@marhkb marhkb merged commit 01e1363 into main Sep 27, 2023
5 checks passed
@marhkb marhkb deleted the fix/cannot-send-picture branch September 27, 2023 16:05
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 this pull request may close these issues.

1 participant