Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Hörist <forenjunkie@chello.at>2017-06-26 00:14:35 +0300
committerPhilipp Hörist <forenjunkie@chello.at>2017-06-26 00:14:35 +0300
commit7a6d7baebc87bc690826151190eccfd2e9a098f5 (patch)
tree2f98ddb3bcc003c9196a457ed88c62f043a71439 /src
parent6a49e2d869d4e04b7fac56465182fac65b38dfb5 (diff)
Set password also on connection object on change
Diffstat (limited to 'src')
-rw-r--r--src/common/passwords.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/passwords.py b/src/common/passwords.py
index 8ca769516..72789b302 100644
--- a/src/common/passwords.py
+++ b/src/common/passwords.py
@@ -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)