poezio/tabs/basetabs: remove safeJID call
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
2d0cc092fc
commit
89a61b84bd
1 changed files with 3 additions and 2 deletions
|
@ -522,8 +522,9 @@ class ChatTab(Tab):
|
|||
raise NotImplementedError
|
||||
|
||||
def load_logs(self, log_nb: int) -> Optional[List[Dict[str, Any]]]:
|
||||
logs = logger.get_logs(safeJID(self.name).bare, log_nb)
|
||||
return logs
|
||||
if self.name is not None:
|
||||
return logger.get_logs(self.name.bare, log_nb)
|
||||
return None
|
||||
|
||||
def log_message(self,
|
||||
txt: str,
|
||||
|
|
Loading…
Reference in a new issue