Skip to content
Snippets Groups Projects
Commit b79170cc authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

add account name to XEP-70 dialog when several are connected

parent 9a986c2f
No related branches found
No related tags found
No related merge requests found
......@@ -432,6 +432,8 @@ class Interface:
gajim.connections[account].build_http_auth_answer(iq_obj, answer)
sec_msg = _('Do you accept this request?')
if gajim.get_number_of_connected_accounts() > 1:
sec_msg = _('Do you accept this request on account %s?') % account
if data[4]:
sec_msg = data[4] + '\n' + sec_msg
self.dialog = dialogs.YesNoDialog(_('HTTP (%s) Authorization for %s (id: %s)') \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment