jellyseerr: fix background daemon auto import of telegram

ChatID fix was done in the TPS implementation but not in the daemon.
This commit is contained in:
Harvey Tindall
2025-11-28 17:10:38 +00:00
parent 58a3fe1f72
commit f36a32773a

View File

@@ -51,7 +51,7 @@ func (app *appContext) SynchronizeJellyseerrUser(jfID string) {
chatID, _ := strconv.ParseInt(notif.TelegramChatID, 10, 64)
if ok && tgUser.ChatID != 0 && chatID != tgUser.ChatID {
u, _ := app.storage.GetTelegramKey(jfID)
contactMethods[jellyseerr.FieldTelegram] = u.ChatID
contactMethods[jellyseerr.FieldTelegram] = strconv.FormatInt(u.ChatID, 10)
contactMethods[jellyseerr.FieldTelegramEnabled] = tgUser.Contact
}
}