From 7a6d7baebc87bc690826151190eccfd2e9a098f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sun, 25 Jun 2017 23:14:35 +0200 Subject: [PATCH] Set password also on connection object on change --- src/common/passwords.py | 2 ++ 1 file changed, 2 insertions(+) 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)