Daniel Brötzmann pushed to branch master at gajim / gajim
Commits: 6cd28e28 by wurstsalat at 2022-08-31T20:06:27+02:00 cfix: DND: Fix moving chat list items to other workspaces
- - - - -
1 changed file:
- gajim/gtk/chat_list_stack.py
Changes:
===================================== gajim/gtk/chat_list_stack.py ===================================== @@ -243,7 +243,14 @@ def _move_chat_to_workspace(self, if not workspace_id: workspace_id = app.window.add_workspace(switch=False)
- source_chatlist = self.get_chatlist(params.source_workspace_id) + if not params.source_workspace_id: + source_chatlist = self.get_current_chat_list() + if source_chatlist is None: + return + + else: + source_chatlist = self.get_chatlist(params.source_workspace_id) + type_ = source_chatlist.get_chat_type(params.account, params.jid) if type_ is None: return
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/6cd28e283de34c997c27821101cd51e35...