This fixes the problem for me. I didn't update the existing `accountNameExists()` method since that's used in the IM Account Wizard. I also didn't use the `FindServer` or `FindRealServer` methods since those will always return the first server found without the possibility of excluding a server based on the key.
Bug 1658781 Comment 15 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
This fixes the problem for me. I didn't update the existing `accountNameExists()` method since that's used in the IM Account Wizard. I also didn't use the `FindServer` or `FindRealServer` methods since those will always return the first server found without the possibility of excluding a server based on the key. I also replaces the alert message to use the `modifiedAccountExists` string since that mentions both username and server name, which is more accurate in this situation. A better string might be worth adding for a non-78 patch.