Set password also on connection object on change

This commit is contained in:
Philipp Hörist 2017-06-25 23:14:35 +02:00
parent 6a49e2d869
commit 7a6d7baebc
1 changed files with 2 additions and 0 deletions

View File

@ -170,4 +170,6 @@ def get_password(account_name):
return get_storage().get_password(account_name)
def save_password(account_name, password):
if account_name in gajim.connections:
gajim.connections[account_name].set_password(password)
return get_storage().save_password(account_name, password)