DarrenOfficial/dpaste

The one-time snippets destroyed when previewed in messengers

mxchist opened this issue · 1 comments

Description

When I send a copied link of a one-time snipped through a telegram, the link is destroyed - because telegram has the preview function for the web-links, and Dpaste counts that link was opened and deletes it before another user opened it.

Environment

telegram 4.14.9 desktop for Ubuntu
https://github.com/telegramdesktop/tdesktop

Steps to reproduce

  1. Create one-time snippet
  2. Send it through telegram
  3. Try to open it

Expected result

The link should be opened, and then destroyed

Actual result

The link is already destroyed

This is the intended outcome, onetime snippet will not work if you're opening it on a service that has a web crawler (I.e. Telegram, Whatsapp, Discord, ect.)

I'm not too sure if there is a way to prevent this reliably