# HG changeset patch # User Nathan Walp # Date 1194106790 0 # Node ID 7a87450fdafe20b4870e5bb5dbaa802c061d2cf1 # Parent 2bc214520c42c6ab0699a78c1a3eee3ec6fd8554 Since the XMPP PurpleConnection is created before we know we need a password, after prompting for the password, the password is never set inside the PurpleConnection, only the PurpleAccount. Now if there's no password on the PurpleConnection, we look for one on the PurpleAccount. fixes #3552 diff -r 2bc214520c42 -r 7a87450fdafe libpurple/connection.c --- a/libpurple/connection.c Sat Nov 03 06:17:09 2007 +0000 +++ b/libpurple/connection.c Sat Nov 03 16:19:50 2007 +0000 @@ -432,7 +432,7 @@ { g_return_val_if_fail(gc != NULL, NULL); - return gc->password; + return gc->password ? gc->password : gc->account->password; } const char *