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

Unify the history of a group before and after it has been upgraded to a supergroup #1002

Open
mymike00 opened this issue Apr 13, 2020 · 4 comments

Comments

@mymike00
Copy link

I've just upgraded a group to a supergroup. Everything fine on telegram desktop (it doesn't even mention the group has been upgraded tbf...).
On TELEports (which uses tdlib) the history before the upgraded is no longer visible.

I just saw issue #223... Would it be possible for tdlib to do this itself and just expose the history of both chat before and after the upgrade unified?

@levlam
Copy link
Contributor

levlam commented Apr 14, 2020

The old messages are still located in the old chat. They are only visually showed to the user as being in the supergroup chat history. They can't be transparently returned in the supergroup's history, because given that they are located in the basic group, they can't be replied or pinned, don't have a public link even the supergroup is public, can be deleted just for self and are different in much more ways from the supergroup messages.

This can be transparently implemented in the future in TDLib, but proper implementation will need really a lot of changes in TDLib's API and internally.

@mymike00
Copy link
Author

This can be transparently implemented in the future in TDLib

Yeah, I was asking for this s.t. each client doesn't have to do it itself...

@Flohack74
Copy link

Humm so the original question would be, how did the old Telegram clients (pre-tdlib) merge these chats transparently? For each message you would need to remember from which chat it came if you want to act upon them. I find this overly complex.

@levlam
Copy link
Contributor

levlam commented Jun 24, 2021

@Flohack74 Yes, they do this and much more to merge history of two chats.

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

No branches or pull requests

3 participants