Ajaxy / telegram-tt

Telegram Web A, GPL v3
https://web.telegram.org/a
GNU General Public License v3.0
2.2k stars 462 forks source link

Insufficient support for supergroups and corresponding groups integration #348

Open syominsergey opened 4 months ago

syominsergey commented 4 months ago

Hello.

It is known that it is possible for groups to be converted in supergroups in some cases. It is known that under the hood when group is converted into supergroup the new group is created with new id and history of previous group is linked to it. As we can see in desktop telegram client ideally for end users integration of group and supergroup planned to be transparent. In desktop telegram client we don't see any explicit messages about migration from one group to another, the history is continuous, we can make replies to messages in group history before the moment of transformation to supergroup, we can search for text in united history of group and supergroup and we can use calendar to quickly navigate to the moment in past, also before the moment of transformation of the group into supergroup. I have checked all this features in telegram desktop on linux, version 4.15. Unfortunately, on telegram web A 10.4.6. These features not works as expected.

When we scroll the history of supergroup converted from group up to the moment, when it was created from group, we see explicit message about that event and we can't continuously scroll the history to earlier moments of time because we need to click link in phrase “Migrated from another chat”. It is very inconvenient. In telegram desktop we don’t see such explicit messages, we can simply scroll the history to the earlier moment of time continuously. In telegram for Android version 10.8.1 (4404) the history is also continuously. The same expected behavior (continuous history) we can also see in telegram web K. But in telegram web A we see that annoying message “Migrated from another chat” and need to click on it to see the history before the transformation.

Also in telegram desktop we can make new messages in supergroup as replies to messages in history before the group was transformed into supergroup. Also we can do it in telegram for Android. But it is impossible to do it in telegram web A. Simply there is no button to reply in telegram web A when we scrolling history of group before it was transformed into supergroup. It is possible to see messages maked as reply to old messages (for example that messages was maked using telegram desktop) in telegram web A, but when we click on text of message was replied that usually leads to move in history to that message (that works so in telegram desktop) in telegram web A we see error “This reply is from private chat”.

When we use search in supergroups in telegram web A it works only in history after the moment when group was converted to supergroup. In other words when we search for some text messages with that text in telegram web A would be found only in history after the moment when group was converted to supergroup even if messages of interest were also before that moment in united history. It is possible to scroll the history of the supergroup to the moment when it was converted from group, click on link in message “Migrated from another chat”, move using such link into the group history before it was converted into supergroup and start search again. Yes. using such strange way we can search in history before the moment the group was converted into supergroup. But it is so inconvenient! In telegram for desktop when we use search it works entirely on united history of group and supergroup without necessity to explicitly go into the history before the group was converted into supergroup. Also it works in same manner telegram for android and even in telegram web K. But unfortunately this not works in telegram web A.

When we use calendar (for example it opens when we click on date in history of messages in supergroup) we can navigate in telegram web A only to messages after the moment when group was converted into supergroup. When we choose a day in calendar before the moment when group was converted into supergroup, telegram web A moves history to the message “Migrated from another chat”. Yes, we can click here the link in this message and go to history of messages of group before it was converted into supergroup. Here we can open calendar again, choose the date of interest again and in that situation telegram web A will move us to the moment of interest in the group history. But it is so inconvenient! In telegram desktop we can simply choose such date in history and simply move to it without need to click link in some messages like “Migrated from another chat” (in telegram desktop we don’t see such messages, we see united continuous history of group and supergroup). Unfortunately, telegram web A works in other manner in such case than telegram desktop.

Thank you for attention! If it would be better to create several issues than such one - please, let me know.