mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 19:58:09 +00:00
Fix push titles (#7220)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
925e028bde
commit
33e086adec
@ -321,13 +321,13 @@ export async function getChunterNotificationContent (
|
||||
|
||||
body = chunter.string.MessageNotificationBody
|
||||
|
||||
if (control.hierarchy.isDerived(tx.objectClass, chunter.class.DirectMessage)) {
|
||||
if (tx.attachedToClass != null && control.hierarchy.isDerived(tx.attachedToClass, chunter.class.DirectMessage)) {
|
||||
body = chunter.string.DirectNotificationBody
|
||||
title = chunter.string.DirectNotificationTitle
|
||||
}
|
||||
}
|
||||
|
||||
if (control.hierarchy.isDerived(tx.objectClass, chunter.class.ChatMessage)) {
|
||||
if (tx.attachedToClass != null && control.hierarchy.isDerived(tx.attachedToClass, chunter.class.ChatMessage)) {
|
||||
intlParamsNotLocalized = {
|
||||
title: chunter.string.ThreadMessage
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user