zhukov / webogram

Telegram web application, GPL v3
https://web.telegram.org
GNU General Public License v3.0
7.96k stars 2.35k forks source link

Open links to Telegram contact from text without reloading page #1166

Closed ihoru closed 8 years ago

ihoru commented 8 years ago
  1. A bot sends message to with a link (<a href="https://telegram.me/NAME_BOT">test</a>) with parse_mode=HTML (or even Markdown as well)
  2. You are trying to open this link in Webogram

Problems:

  1. It shows a confirmation dialog to go through this link.
  2. After accepting the confirmation page reloads and dialog with a bot is shown.

How should it be:

  1. Do not show confirmation dialog as it is a link to the telegram.
  2. Show new dialog in place without reloading.

How to reproduce:

  1. Open the link below (the command /me will be executed): https://telegram.me/PokerBot?start=L21l
  2. If it necessarily, it will ask you to choose a language -- choose one and hit the link above again.
  3. You will see your profile with your level in the top (it's a link), click on it.

2016-06-16_09 58 16

zhukov commented 8 years ago
  1. It shows a confirmation dialog to go through this link.

it is supposed to work like this. Try iOS version.

ihoru commented 8 years ago

@zhukov

  1. But there is no confirmation in Android and Desktop client. Two vs One :)
  2. What about second point? Is it a bug?