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

changed notification title and subtitle; removed body #2027

Merged
merged 13 commits into from
May 26, 2023
Prev Previous commit
Next Next commit
fix alert title
imtoori committed May 26, 2023

Verified

This commit was signed with the committer’s verified signature.
rezkiy37 Michael (Mykhailo) Kravchenko
commit 0f65a18de4715b036fd0b4718ec5df65e9f44fc4
2 changes: 1 addition & 1 deletion engine/apps/mobile_app/tasks.py
Original file line number Diff line number Diff line change
@@ -154,7 +154,7 @@ def _get_alert_group_escalation_fcm_message(

thread_id = f"{alert_group.channel.organization.public_primary_key}:{alert_group.public_primary_key}"

alert_title = "New Alert" if critical else "New Important Alert"
alert_title = "New Important Alert" if critical else "New Alert"
alert_subtitle = get_push_notification_subtitle(alert_group)

mobile_app_user_settings, _ = MobileAppUserSettings.objects.get_or_create(user=user)