Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add google.sent_time extra to C2DM receive intent, fixes Telegram notifications #2344

Merged
merged 3 commits into from Apr 29, 2024

Conversation

matteobtt
Copy link
Contributor

@matteobtt matteobtt commented Apr 28, 2024

This PR fixes broken notifications on apps that rely on google.sent_time such as Telegram.

Fixes #1986
Fixes #2298

@matteobtt matteobtt mentioned this pull request Apr 28, 2024
@ale5000-git
Copy link
Member

ale5000-git commented Apr 28, 2024

I don't know this code so I'm not sure but is the value always present or must be checked?
Example: if (msg.sent != null)

@matteobtt
Copy link
Contributor Author

The value is added by the Google server, at least that's what I noticed when I sent a notification with the Firebase API on a test app, so I assume it is always there.

@mar-v-in mar-v-in added this to the 0.3.2 milestone Apr 28, 2024
@mar-v-in mar-v-in merged commit cf65b1a into microg:master Apr 29, 2024
1 check passed
@Vavun
Copy link
Contributor

Vavun commented Apr 30, 2024

@mar-v-in could you please update nightly build for testing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

telegram MicroG cloud messaging received message but push notification not work.
4 participants