zevlg/telega.el

Reactions stopped working

benthamite opened this issue · 0 comments

Telega Setup

OS: macOS 14.2.1
Emacs: GNU Emacs 29.2 (build 2, aarch64-apple-darwin23.2.0, NS appkit-2487.30 Version 14.2.1 (Build 23C71))
Features: imagemagick svg webp ffmpeg
Telega: telega v0.8.254 (TDLib v1.8.24-d79bd4b) (telega-server v0.8.2)

Current Behavior

telega-msg-add-reaction fails to add a reaction to the message at point.

Steps to Reproduce

  1. With point on a message,M-x telega-msg-add-reaction RET <select reaction> RET.
  2. Debugger entered--Lisp error: (invalid-function telega--tl-type).

Backtrace:

Debugger entered--Lisp error: (error "Selecting deleted buffer")
  #f(compiled-function (result) #<bytecode 0x9f6536aa477356f>)((:completions [] :cancellationReason "DocumentVersionMismatch"))
  jsonrpc--continue(#<jsonrpc-process-connection jsonrpc-process-connection-a7d8923a> 17 (17 getCompletions #f(compiled-function (result) #<bytecode 0x9f6536aa477356f>) #f(compiled-function (jsonrpc-lambda-elem3) #<bytecode 0x4ba06dad33b09e8>) [nil 26134 51274 707207 nil #f(compiled-function () #<bytecode 0x2fdecaa2b7129b4>) nil nil 0 nil]) (:completions [] :cancellationReason "DocumentVersionMismatch") nil)
  jsonrpc-connection-receive(#<jsonrpc-process-connection jsonrpc-process-connection-a7d8923a> (:jsonrpc "2.0" :id 17 :result (:completions [] :cancellationReason "DocumentVersionMismatch")))
  #f(compiled-function (conn msg) #<bytecode -0x18401e0673f9a795>)(#<jsonrpc-process-connection jsonrpc-process-connection-a7d8923a> (:jsonrpc "2.0" :id 17 :result (:completions [] :cancellationReason "DocumentVersionMismatch")))
  apply(#f(compiled-function (conn msg) #<bytecode -0x18401e0673f9a795>) (#<jsonrpc-process-connection jsonrpc-process-connection-a7d8923a> (:jsonrpc "2.0" :id 17 :result (:completions [] :cancellationReason "DocumentVersionMismatch"))))
  timer-event-handler([t 26134 51264 766007 nil #f(compiled-function (conn msg) #<bytecode -0x18401e0673f9a795>) (#<jsonrpc-process-connection jsonrpc-process-connection-a7d8923a> (:jsonrpc "2.0" :id 17 :result (:completions [] :cancellationReason "DocumentVersionMismatch"))) nil 0 nil])