h
This commit is contained in:
@@ -10,7 +10,7 @@ from urllib.parse import parse_qs, urlparse
|
||||
|
||||
from cmdlet._shared import Cmdlet, CmdletArg
|
||||
from SYS.logger import log, debug
|
||||
from SYS.result_table import ResultTable
|
||||
from SYS.result_table import Table
|
||||
from SYS import pipeline as ctx
|
||||
|
||||
_MATRIX_PENDING_ITEMS_KEY = "matrix_pending_items"
|
||||
@@ -583,7 +583,7 @@ def _resolve_upload_path(item: Any, config: Dict[str, Any]) -> Optional[str]:
|
||||
|
||||
def _show_main_menu() -> int:
|
||||
"""Display main menu: Rooms or Settings."""
|
||||
table = ResultTable("Matrix (select with @N)")
|
||||
table = Table("Matrix (select with @N)")
|
||||
table.set_table("matrix")
|
||||
table.set_source_command(".matrix", [])
|
||||
|
||||
@@ -613,7 +613,7 @@ def _show_main_menu() -> int:
|
||||
|
||||
def _show_settings_table(config: Dict[str, Any]) -> int:
|
||||
"""Display Matrix configuration settings as a modifiable table."""
|
||||
table = ResultTable("Matrix Settings (select with @N to modify)")
|
||||
table = Table("Matrix Settings (select with @N to modify)")
|
||||
table.set_table("matrix")
|
||||
table.set_source_command(".matrix", ["-settings"])
|
||||
|
||||
@@ -800,7 +800,7 @@ def _show_rooms_table(config: Dict[str, Any]) -> int:
|
||||
log("No joined rooms found.", file=sys.stderr)
|
||||
return 0
|
||||
|
||||
table = ResultTable("Matrix Rooms (select with @N)")
|
||||
table = Table("Matrix Rooms (select with @N)")
|
||||
table.set_table("matrix")
|
||||
table.set_source_command(".matrix", [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user