The patch now works in all situations for me: - If the account is not already in the user's profile (i.e. the user adds an account to kopete), the new values are saved in the profile.
- If the account is already in the user's profile and it uses the above values, which are already known to not work at all, the values are overridden with working ones. For the rare case when an experienced user should wonder, why his not-working values are not used, a debug message is printed. In both cases, the user does not have to fiddle with config values, the right ones are just used.
95c95 < mICQVersion.minor = config.readEntry( "Minor", "0x0000" ).toUShort( 0, 0 ); --- > mICQVersion.minor = config.readEntry( "Minor", "0x0005" ).toUShort( 0, 0 ); 97,98c97,98 < mICQVersion.build = config.readEntry( "Build", "0x17AB" ).toUShort( 0, 0 ); < mICQVersion.other = config.readEntry( "Other", "0x00007535" ).toUInt( 0, 0 ); --- > mICQVersion.build = config.readEntry( "Build", "0x0412" ).toUShort( 0, 0 ); > mICQVersion.other = config.readEntry( "Other", "0x00000000" ).toUInt( 0, 0 ); 100a101,109 > > // convert old profile settings to new one (Debian Lenny) > if ( mICQVersion.build == 6059 && mICQVersion.minor == 0 && mICQVersion.other == 30005 ) > { > kdDebug(OSCAR_RAW_DEBUG) << "Known non-working Oscar config values overridden." << endl; > mICQVersion.build = 1042; > mICQVersion.minor = 5; > mICQVersion.other = 0; > }
signature.asc
Description: This is a digitally signed message part.