Fix `Ignore` in update notifier

pull/1/head
hikariatama 2022-08-27 17:11:26 +00:00
parent 6edcb0ec8b
commit e035a9d11d
1 changed files with 2 additions and 2 deletions

View File

@ -155,8 +155,8 @@ class UpdateNotifierMod(loader.Module):
return return
if call.data == "hikka_upd_ignore": if call.data == "hikka_upd_ignore":
self.set("ignore_permanent", self._pending) self.set("ignore_permanent", self.get_latest())
await call.answer("Notifications about this update have been suppressed") await call.answer("Notifications about the latest have been suppressed")
return return
await self._delete_all_upd_messages() await self._delete_all_upd_messages()