telega.el icon indicating copy to clipboard operation
telega.el copied to clipboard

Emoji (symbola font) is not hidden under spoiler

Open a13 opened this issue 3 years ago • 0 comments

Telega Setup

OS: Ubuntu 22.04.1 LTS Emacs: GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) Telega: telega v0.8.42 (TDLib v1.8.4) (telega-server v0.8.0 [docker]) MELPA: 20220713.758

Current Behavior

While the background face is the real spoiler one, the emoji itself is not hidden

Steps to Reproduce

  1. send a message with an emoji symbol hidden by a spoiler

the output of describe-char:

             position: 3601 of 6171 (58%), column: 15
            character: 💩 (displayed as 💩) (codepoint 128169, #o372251, #x1f4a9)
              charset: unicode (Unicode (ISO10646))
code point in charset: 0x1F4A9
               script: symbol
               syntax: w    which means: word
             category: .:Base
             to input: type "C-x 8 RET 1f4a9" or "C-x 8 RET PILE OF POO"
          buffer code: #xF0 #x9F #x92 #xA9
            file code: #xF0 #x9F #x92 #xA9 (encoded by coding system utf-8-unix)
              display: by this font (glyph code)
    ftcrhb:-Free-Symbola-normal-normal-semicondensed-*-21-*-*-*-*-0-iso10646-1 (#x20EF)

Character code properties: customize what to show
  name: PILE OF POO
  general-category: So (Symbol, Other)
  decomposition: (128169) ('💩')

Here is a ‘telega-msg’ button labeled ‘(D)@xxx'                              
    | Reply: @wtf> А вот в дискорде!
    пиши эмодзи💩 :]                                                       17:41⚫’.


There are text properties here:
  :inserter            telega-ins--message
  :telega-retain-props (:inserter)
  :value               [Show]
  button               (t)
  category             telega-msg-button
  display              [Show]
  face                 telega-entity-type-spoiler
  rear-nonsticky       t

[back]

a13 avatar Oct 11 '22 14:10 a13