diff options
author | mathieui <mathieui@mathieui.net> | 2021-04-11 13:31:20 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-04-11 16:33:53 +0200 |
commit | 4ae1b714c47440419c56f2fdce288bd6350348e2 (patch) | |
tree | 9aac0660dd52976ffa49a70696cc684fb89018ab /poezio/tabs/privatetab.py | |
parent | 6f36d6b507044bdf8376ae1159ab0c86a3cd337a (diff) | |
download | poezio-4ae1b714c47440419c56f2fdce288bd6350348e2.tar.gz poezio-4ae1b714c47440419c56f2fdce288bd6350348e2.tar.bz2 poezio-4ae1b714c47440419c56f2fdce288bd6350348e2.tar.xz poezio-4ae1b714c47440419c56f2fdce288bd6350348e2.zip |
internal: make mam_sync and use_log use tab-specific options
Diffstat (limited to 'poezio/tabs/privatetab.py')
-rw-r--r-- | poezio/tabs/privatetab.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/poezio/tabs/privatetab.py b/poezio/tabs/privatetab.py index 2d4a73e1..e24b5521 100644 --- a/poezio/tabs/privatetab.py +++ b/poezio/tabs/privatetab.py @@ -10,7 +10,6 @@ both participant’s nicks. It also has slightly different features than the ConversationTab (such as tab-completion on nicks from the room). """ -import asyncio import curses import logging from typing import Dict, Callable @@ -24,8 +23,6 @@ from poezio import xhtml from poezio.config import config from poezio.core.structs import Command from poezio.decorators import refresh_wrapper -from poezio.logger import logger -from poezio.log_loader import LogLoader, MAMFiller from poezio.theming import get_theme, dump_tuple from poezio.decorators import command_args_parser from poezio.ui.types import ( @@ -70,11 +67,6 @@ class PrivateTab(OneToOneTab): self.on = True self.update_commands() self.update_keys() - if config.getbool('mam_sync'): - self.mam_filler = MAMFiller(logger, self) - asyncio.ensure_future( - LogLoader(logger, self, config.getbool('use_log')).tab_open() - ) @property def log_name(self) -> str: |