Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.
fix telegram no notification caused by empty message text(unicode) (#870)
Aanafcf01f9b46b
diff --git a/endpoints/cronjobs/sendnotifications.php b/endpoints/cronjobs/sendnotifications.phpindex 429f05f..40f0474 100644--- a/endpoints/cronjobs/sendnotifications.php+++ b/endpoints/cronjobs/sendnotifications.php@@ -470,7 +470,7 @@ while ($userToNotify = $usersToNotify->fetchArray(SQLITE3_ASSOC)) {$data = array('chat_id' => $telegram['chatId'],- 'text' => $message+ 'text' => mb_convert_encoding($message, 'UTF-8', 'auto'));$data_string = json_encode($data);