From 0931075d2912acf27094985fdf114befaaae0610 Mon Sep 17 00:00:00 2001 From: cschen <camillo.schenone@gmail.com> Date: Sun, 16 Feb 2025 18:32:41 +0100 Subject: [PATCH] get only joined workspaces for the leave buffer command --- plugin/commands/workspace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/commands/workspace.py b/plugin/commands/workspace.py index 8862f1d..c1895a1 100644 --- a/plugin/commands/workspace.py +++ b/plugin/commands/workspace.py @@ -22,7 +22,7 @@ class CodempJoinBufferCommand(sublime_plugin.WindowCommand): def input(self, args): if "workspace_id" not in args: - wslist = session.get_workspaces(owned=True, invited=True) + wslist = session.client.active_workspaces() return SimpleListInput( ("workspace_id", wslist), )