zevlg / telega.el

GNU Emacs telegram client (unofficial)
https://zevlg.github.io/telega.el/
GNU General Public License v3.0
1.11k stars 86 forks source link

(telega-msg-save) is inconsistent #334

Open kuba-orlik opened 2 years ago

kuba-orlik commented 2 years ago

Telega Setup

OS: Manjaro Linux Emacs: GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) Telega: telega v0.7.031 (TDLib v1.7.0) (telega-server v0.7.5)

Current Behavior

Executing (telega-msg-save) on an image message sometimes just asks for the file path in the minibuffer filling the minibuffer with ~/some_filename.jpg, and sometimes opens the image in new buffer and fills the minibuffer with ~/.telega/cache/photos/some_filename.jpg

Steps to Reproduce

  1. Go to a chat with a lot of messages
  2. Press S while the focused on some image messages
  3. See that the behavior is inconsistent
zevlg commented 2 years ago

Can't reproduce this. Maybe you are pressing RET after S while image is still downloading?