Commit 3745f883 authored by Philipp Hörist's avatar Philipp Hörist

GroupchatCreation: Handle <gone> error better

parent 51b176b7
......@@ -159,7 +159,10 @@ def _set_warning(self, text):
def _set_warning_from_error(self, error):
text = MUC_DISCO_ERRORS.get(error.condition, to_user_string(error))
condition = error.condition
if condition == 'gone':
condition = 'already-exists'
text = MUC_DISCO_ERRORS.get(condition, to_user_string(error))
def _set_warning_from_error_code(self, error_code):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment