Code Monkey home page Code Monkey logo

Comments (8)

matteobtt avatar matteobtt commented on June 21, 2024 4

Is due to the fact that Telegram does not show notifications if they are already dismissed

https://github.com/DrKLO/Telegram/blob/a906f12aaec2768969c77650a7e4b377baa6cf2a/TMessagesProj/src/main/java/org/telegram/messenger/NotificationsController.java#L3776-L3779

The problem is that microG does not forward google.sent_time to Telegram and so this variable is set to 0 causing the if to be always executed.

from gmscore.

matteobtt avatar matteobtt commented on June 21, 2024 2

This has never been investigated in nearly a decade, see #1986 . Can you place a pull request and attempt a fix?

@gcvl Yes, #2344

from gmscore.

dimka40185 avatar dimka40185 commented on June 21, 2024 1

How is this related to microg? Seems to me like telegram is not showing the notifications properly. Have you checked the telegram notification settings?

This is due to the Microg, as it does not wake up the telegram when a push notification is received.

from gmscore.

chpio avatar chpio commented on June 21, 2024

How is this related to microg? Seems to me like telegram is not showing the notifications properly. Have you checked the telegram notification settings?

from gmscore.

Sapiosenses avatar Sapiosenses commented on June 21, 2024

How is this related to microg? Seems to me like telegram is not showing the notifications properly. Have you checked the telegram notification settings?

This is due to the Microg, as it does not wake up the telegram when a push notification is received.

I have been using Telegram with microG for years, it sends notifications fine.

Caveat: for a variety of reasons including better privacy, I use the "Telegram FOSS" fork that is maintained by the F-droid team instead of the official client. Telegram FOSS does not rely on FCM ("Cloud Messaging") to send notifications.

That said, I also know various people that use the official client and it sends notifications fine for them as well.

Lastly, you cut off the part of the screenshot that indicates if you have battery optimizations ignored for microG. If that is not set properly, modern Android ROMs will keep trying to kill the background microG processes, which will impact things like push notifications.

from gmscore.

gcvl avatar gcvl commented on June 21, 2024

Is due to the fact that Telegram does not show notifications if they are already dismissed

https://github.com/DrKLO/Telegram/blob/a906f12aaec2768969c77650a7e4b377baa6cf2a/TMessagesProj/src/main/java/org/telegram/messenger/NotificationsController.java#L3776-L3779

The problem is that microG does not forward google.sent_time to Telegram and so this variable is set to 0 causing the if to be always executed.

This has never been investigated in nearly a decade, see #1986 .
Can you place a pull request and attempt a fix?

from gmscore.

Vavun avatar Vavun commented on June 21, 2024

@DaVinci9196 help please ?

The problem is that microG does not forward google.sent_time to Telegram and so this variable is set to 0 causing the if to be always executed.

from gmscore.

gcvl avatar gcvl commented on June 21, 2024

This has never been investigated in nearly a decade, see #1986 . Can you place a pull request and attempt a fix?

@gcvl Yes, #2344

Wow, grande Matteo!

from gmscore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.