ubports / telegram-app

Unofficial Telegram App for Ubuntu Desktop & Mobile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No push notifications for channel messages

GI9VANNI opened this issue · comments

Hello!
Using your app on a Nexus 5 with Ubuntu Touch, I noticed that stickers notifications do not appear.
I'm not talking about the smilies integrated into the keyboard, but about the Telegram stickers.
Can you solve this problem?

Could you look out for "unknown type" (or something similar) in your push-client log? (/home/phablet/.cache/upstart/ubuntu-push-client.log) I think I saw such errors there but I am not sure.

I found 7 files named ubuntu-push-client.log.x.gz with x from 1 to 7. Do I have to attach them?

Please attach only the latest file. 1 should be enough

Try .1, it's more recent then .7 :)

Erm wait a second guys, are we talking about pop-up of notifications outside telegram, or messages inside telegram groups where stickers dont show up?

Ok I think I saw something, when we introduced channel/supergroup support, we might have forgot something to patch in the helper :)

Push helper does not know about:
payload:{"message":{"loc_key":"CHANNEL_MESSAGE_TEXT","loc_args":["...","..."],"custom":{"msg_id":"495","channel_id":"1003872209"}},"notification":{"tag":"chat","card":{"summary":"...","body":"...","popup":true,"persist":true},"sound":"buzz.mp3","vibrate":{"pattern":[200,100],"duration":200,"repeat":2},"emblem-counter":{"count":57,"visible":true}}}
This is true for channels only, supergroups are fine.

@GI9VANNI I can send you a test version to try if it works for you now.

The test version works!