[Bug]: Displayed timestamp of messages from public channels/groups in saved messages is timestamp from original souce
Steps to reproduce
- Forward message from public channel/group
Or:
- Forward 2 messages in row from open group.
- One message from account that hides its account for forwarded messages and other one not.
Expected behaviour
Displayed timestamp of message is time of when you forward message.
Actual behaviour
Displayed timestamp is actually timestamp from forwarded source. Which creates stupid things.
In case of 2 messages in row from steps to reproduce: One message will display source timestamp and other will display forwarded timestamp. But you still can see both timestamps if you hover on time.
Screenshots
Operating system
Win10
Version of Telegram Desktop
6.3.3
Installation source
Static binary from official website
Crash ID
No response
Logs
I think that's how it should be? Because it can only be reproduced when forwarding in saved messages.
Saved message
If you forward messages in this way to other private messages or to a group, the display date is correct.
Group
And I think it's more correct to display the time of the forwarded message than the time it was sent for “notes.”
I think that's how it should be?
It either show original timestamp from source or timestamp when messages were forwarded to saved messages. Don't mix it.
For example, because original timestamp available for both types of messages there is no reason to show for one and not to show for other.
And it wasn't like that few vers ago, it alwas shows timestam when message was forwarded to saved messages. And I think it should be like that. I rarely need original timestam and when I needed it I just hover on time to look at it.
@dajotim937, I'm curious, what's the point of the “time message was sent to favorites” timestamp? Wouldn't it make more sense to show the time of the original message? Personally, I don't see anything wrong with it, and I think that's how it should be.
In this case, it would probably be better to add an option somewhere in the settings to vary the display of these labels. I may consider creating this setting when I have time. (And I'll create PR)
I'm curious, what's the point of the “time message was sent to favorites” timestamp?
To see the time when you saved message, obviously. Why would I care about original timestamp if important information is 1. Message itself ; 2. When it was saved. Right now when you are searching message that you saved you can only jump to date. And then you have to look though all saved messages for that date because timestamps don't match to time that message was saved. Further more you can't even search by original timestamp. It's purely additional information that nice to have.
What's the point of having random timestamps for 2 messages next to each other like on screenshot in main post? My main issue is: both type of messages have both timestamps. But for one is displayed first timestamp and for other is second timestamp. Inconsistent things are stupid.
But for one is displayed first timestamp and for other is second timestamp. Inconsistent things are stupid.
By the way, I couldn't reproduce it.
https://github.com/telegramdesktop/tdesktop/issues/30036#issuecomment-3567309677
Because you saved messages from account that doesn't hide it's profile for forwarded messages. I wrote that in main post. Do you see button on your screenshot to open original chat for your saved messages? And now check my screenshot. Only 3 messages out 5 have that button. For other 2 if you click on username it will show The account was hidden by the user.
@dajotim937, You may also notice that in my screenshot, there are users whose “forwarding” status is hidden. This can be understood by the absence of an avatar.
I repeated the steps you listed in “Steps to reproduce,” and I still cannot reproduce it.
Okay, I understand what the problem is.
I thought I was going crazy when I recently tried to find a saved message by the date I saved it, but all the dates were mixed up. It turned out that some messages, for some reason, show the original message’s timestamp by default.
Why would I need the original timestamp to be shown by default in “Saved Messages”? Of course, the default should be the time when the message was actually saved/forwarded to “Saved Messages.”
You save some messages at 9:00 PM, then open “Saved Messages” the next morning, and they show up with a timestamp of 7:35 AM. What the hell? And if the original message has a completely different date, how am I supposed to find it in “Saved Messages”? It makes no sense. The default should definitely be the time the message was saved, not the time of the original message.
So now every message shows useless original timestamp. Great.