ubports / telegram-app

Unofficial Telegram App for Ubuntu Desktop & Mobile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[xenial] Notifications don't work

zubozrout opened this issue Β· comments

Hello,
I've just tried building latest Telegram (2.5.3) - the master branch - with clickable and it worked like a charm. It is great I can finally use it on Xenial πŸ‘

However, I've noticed that I don't receive any notifications and if I agree on using Ubuntu One account nothing happens and still see the switch turned off the next time I enter the settings screen.

I've tried removing my Ubuntu One account from system accounts but even without it no prompt to enter credentials was shown.

Just adding this here as I haven't seen it reported anywhere yet though this may not be a Telegram issue but perhaps something related to Ubuntu 16.04 still not handling accounts well?

Hmm need to see this... will be not easy to understand whats going on here...

Btw, I've just checked the log and I get this when trying to turn the notifications on in Telegram settings:

RequestAccess failed: QDBusError("com.ubuntu.OnlineAccountsUi.InvalidApplication", "Invalid client application")
updatesGetChannelDifference_slt: old pts:  137764 , new pts:  137765  for channel  1059487747
QDBusConnection: error: could not send message to service "com.ubuntu.Postal" path "/com/ubuntu/Postal/" interface "com.ubuntu.Postal" member "SetCounter": Invalid object path: /com/ubuntu/Postal/
qml: push - unhandled error:

Is Telegram listed in system-settings where you can configure the notifications sound and popups?

@Flohack74 Unfortunately not. The only app that is listed in accounts is a Contact app (for Google). For example Calendar app seems to suffer from same issue - as referenced above ^.

Hmm then smth went wrong with the installation or idk. Telegram push function is registered in the app manifest normally.

Well this is apparently happening to at least one other Xenial user as well - that is having only Contacts app listed in the Accounts settings.
Cite from UBports QA and testing: "Only contacts app is listed under system settings -> security&privacy -> app permissions -> online accounts"

So I wonder what may have gone wrong. Are there some system changes that may have broke it? But why would Contacts show up normally then?

I am closing this here, on Telegram side nothing changed and this is probably related to ubports/ubuntu-touch#602