mollyim / mollyim-android

Enhanced and security-focused fork of Signal.
GNU Affero General Public License v3.0
1.37k stars 77 forks source link

Display MayHaveMessagesNotification on push with locked db #238

Closed p1gp1g closed 7 months ago

p1gp1g commented 7 months ago

This works with FCM : If the remote message's priority is high, then the push notification should require a notification :)

p1gp1g commented 7 months ago

Thanks for you review. For information, urgent is a signal term which is converted by the server to FCM term.

Just a quick question, this implementation only works for FCM and not UnifiedPush and websockets, right?

I've done this for UnifiedPush too : https://github.com/mollyim/mollyim-android-unifiedpush/commit/9f9d882035f5dd8506c309bad042c3d995da71a9 but it requires the version 1.1.0 of mollysocket I will publish during the day