mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Always send push notifications in recipients language (#11307)
* Load data needed for members when inviting to quest * Always send push notifications in recipients language. Fixes #8718 * Remove console.log
This commit is contained in:
committed by
Sabe Jones
parent
14106ec5bf
commit
04420aa60e
@@ -346,7 +346,7 @@ schema.methods.closeChal = async function closeChal (broken = {}) {
|
||||
sendPushNotification(savedWinner,
|
||||
{
|
||||
title: challenge.name,
|
||||
message: shared.i18n.t('wonChallenge'),
|
||||
message: shared.i18n.t('wonChallenge', savedWinner.preferences.language),
|
||||
identifier: 'wonChallenge',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user