mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
rename hooks to use "ac_" (account) and "dc_" (global)
This commit is contained in:
@@ -26,7 +26,7 @@ def test_dc_close_events(tmpdir, acfactory):
|
||||
|
||||
class ShutdownPlugin:
|
||||
@global_hookimpl
|
||||
def account_after_shutdown(self, account):
|
||||
def dc_account_after_shutdown(self, account):
|
||||
assert account._dc_context is None
|
||||
shutdowns.append(account)
|
||||
register_global_plugin(ShutdownPlugin())
|
||||
|
||||
Reference in New Issue
Block a user