dpaste icon indicating copy to clipboard operation
dpaste copied to clipboard

The one-time snippets destroyed when previewed in messengers

Open mxchist opened this issue 1 year ago • 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

mxchist avatar Feb 03 '24 15:02 mxchist

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

DarrenOfficial avatar Feb 03 '24 21:02 DarrenOfficial