meetfranz / recipe-telegram

Official Franz Recipe for Telegram
4 stars 12 forks source link

Add support for new animated stickers #12

Open dbogdanov opened 4 years ago

dbogdanov commented 4 years ago

Animated stickers have just been added to Telegram.

Currently, the recipe will show "The message is not supported on your version of Telegram Web. Update the app to view: web.telegram.org." instead.

hongshaoyang commented 4 years ago

Seems like this issue is unrelated to Franz. It might be related to zhukov/webogram itself: zhukov/webogram#1850

EDIT: looks like webogram is a dead project... see zhukov/webogram#1874

geeks-r-us commented 4 years ago

I just wrote a recipe for telegram-react client which can display stickers. See here: https://github.com/geeks-r-us/recipe-telegram-react

ilopmar commented 4 years ago

@geeks-r-us Thanks for this! With the instructions in your repo it doesn't work for me. I needed to replace the original /home/ivan/.config/Franz/recipes/telegram folder with your code and then replace in package.json the following:

  "id": "telegram",
  "name": "Telegram",
  "version": "1.0.5",

Basically, use the "official" name because putting the code in the directory you mentioned didn't work for me. Probably I'm doing something wrong.

geeks-r-us commented 4 years ago

@ilopmar I missed one step in the description: you need to add a new service and select telegram-react from custom services

ilopmar commented 4 years ago

@geeks-r-us Awesome, now it works! One more thing. I've noticed that the notification badge shows notifications for channels that I have muted. This doesn't happen with the official recipe. I've seen that the official (on the left) takes into account the muted channels but yours not.

image

Is it possible for you to change it so the muted channels are not displayed as pending notifications? I'd do it myself but I don't know enough about how to do it.

geeks-r-us commented 4 years ago

@ilopmar filtering out muted channels is currently not possible because telegram-react does not indicate mute state (via icon or div class).

ilopmar commented 4 years ago

@geeks-r-us Ohh, that's too bad. So even if we can see a different badge (green vs gray) on the UI, that information is not exposed anyway so it can be checked? :-(

Screenshot from 2020-01-20 14-43-03

Then I'll stick to the official recipe because I prefer to have proper notifications that animated stickers. In any case thank you very much for this because now I know how to use a local recipe so I can clone the ones I use and apply the pending PRs locally (I've already done this for Google Chat).

geeks-r-us commented 4 years ago

@ilopmar I did't get that color thing. Of course this is usable thx. Update is commited

ilopmar commented 4 years ago

It works! AWESOME!! :tada: :100:

Thank you very much :-)

dbogdanov commented 4 years ago

Hi @geeks-r-us, thanks a lot! I am already using your recipe. One thing I've noticed, it seems I cannot edit messages sent, nor reply. The only options are "forward" and "delete".

dbogdanov commented 4 years ago

Hi @geeks-r-us, thanks a lot! I am already using your recipe. One thing I've noticed, it seems I cannot edit messages sent, nor reply. The only options are "forward" and "delete".

Seems to be working now.

Is that possible to disable that new chamomile background? Posting this here because it is impossible to create an issue at the https://github.com/geeks-r-us/recipe-telegram-react repository.

hongshaoyang commented 4 years ago

@dbogdanov, you'll have to refer to the telegram-react repository. this recipe is only a wrapper around https://evgeny-nadymov.github.io/telegram-react/

Mojo90 commented 4 years ago

@geeks-r-us really good :) One problem I have is that I do not get notifications? So notifications are allowed (and it is configured as normal telegram service) but I do not get the notifications when somebody writes. Is that something you also encountered? I know from another person who I also gave your recipe because of missing animated Stickers that they encounter the same issue.

Mojo90 commented 4 years ago

@geeks-r-us Is it possible to get help for this with notifications? (Please see my last comment from 1st of April) Because I use it really every day heavily and it would be very helpful to get notifications again. Thanks for support