mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
strike setting "displayname" in test plugin and refine two tests which implicitely relied on this
This commit is contained in:
@@ -29,9 +29,9 @@ class FFIEventLogger:
|
||||
# to prevent garbled logging
|
||||
_loglock = threading.RLock()
|
||||
|
||||
def __init__(self, account, init_time=None) -> None:
|
||||
def __init__(self, account, logid=None, init_time=None) -> None:
|
||||
self.account = account
|
||||
self.logid = self.account.get_config("displayname")
|
||||
self.logid = logid or self.account.get_config("displayname")
|
||||
if init_time is None:
|
||||
init_time = time.time()
|
||||
self.init_time = init_time
|
||||
|
||||
Reference in New Issue
Block a user