mirror of https://github.com/coddrago/Heroku
Fix `Ignore` in update notifier
parent
6edcb0ec8b
commit
e035a9d11d
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue