Daniel Brötzmann pushed to branch master at gajim / gajim
Commits: a998111b by wurstsalat at 2024-06-22T12:54:10+02:00 imprv: ChatFunctionPage: Show MUC address when displaying error - - - - - 1 changed file: - gajim/gtk/chat_function_page.py Changes: ===================================== gajim/gtk/chat_function_page.py ===================================== @@ -222,7 +222,11 @@ def set_mode(self, is_bookmark = self._client.get_module('Bookmarks').is_bookmark( self._contact.jid) self._forget_button.set_visible(is_bookmark) - self._widget = ErrorWidget(mode=mode, error_text=data) + + error_text = str(self._contact.jid) + if data is not None: + error_text = f'{error_text}\n{data}' + self._widget = ErrorWidget(mode=mode, error_text=error_text) assert self._widget is not None self._content_box.add(self._widget) View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/a998111bf2c97484f79a6b1271351d9e3dfe1e09 -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/a998111bf2c97484f79a6b1271351d9e3dfe1e09 You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list -- commits@gajim.org To unsubscribe send an email to commits-le...@gajim.org