Closed Lonami closed 3 years ago
@Lonami This is an invalid photo, it should not happen really.
So it's so rare that it's not worth fixing it, you say? I mean I respect that, but I found it funny that some information (caption) is "lost". Search also finds it:
And link previews:
(by the way, while taking those screenshots I edited an old message and it always shows 0:00: recent messages don't show that time at all)
I'm not sure how such non-existing-image-with-caption should be shown anyway. It's not a valid case, it wasn't in any designs etc.
Some clients (Telegram for Android?) render the photo blank and the caption below (taken from https://t.me/tgandroidtests/71762):
But yes, we can no longer make the issue happen (perhaps something changed server side and they sent the photo back then).
The same empty photo is happening here: https://t.me/ThankTelegram/20916 I think it is because the account is deleted, manually. I hope the caption is shown in similar to how the android client handles it.
this issue is still valid?
Well, the empty messages still show as such in https://t.me/telethonofftopic/179050 and https://t.me/telethonofftopic/178924, so I would think so.
Showing the current date and the empty message below:
A way to reproduce it to be able to check this case on TDesktop.
You need a bot account and a test account.
1) Set a Profile Photo on the test account. 2) Add the bot to a group 3) Add the test account 4) Receive the event of the test account joining the chat. 5) Use the bot api method getUserProfilePhotos with the ID of the test account 6) Send the bot api method sendPhoto with one of the _fileid received by the method above to the group. 7) Test Account should now delete their account Profile Photo 8) Restart TDesktop and enter the group
The empty message will show up.
A way to reproduce it to be able to check this case on TDesktop.
You need a bot account and a test account.
1. Set a **Profile Photo** on the test account. 2. Add the bot to a group 3. Add the test account 4. Receive the event of the test account joining the chat. 5. Use the bot api method **getUserProfilePhotos** with the ID of the test account 6. Send the bot api method **sendPhoto** with one of the _file_id_ received by the method above to the group. 7. Test Account should now delete their account Profile Photo 8. Restart TDesktop and enter the group
The empty message will show up.
I think this exact procedure is happening in normal usage by real users - people running a whois
userbot command send the profile pic, and if the account is deleted, the entire message is lost. https://t.me/UserbotTesting/88974
Hey there!
This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.
Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!
🤒 this issue still exists here.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
See https://t.me/telethonofftopic/179050 for an example. This is what Telegram Desktop v1.6.3 shows:
This is what the message actually has:
It would be helpful if it showed at least the caption, and ideally (if no photo is shown), indicate that the photo is hidden.