mozilla-b2g/gaia-email-libs-and-more — pull request #47 by mozsquib (2012-09-24 20:33:08+00:00)
Title: [ActiveSync] Only set the username from autodiscover if we actually got the username

r? @asutherland

This should never actually matter unless we break something else, but someone on IRC was messing about with config files and managed to get into a state where we were trying to set the user's name, even though we didn't get it from ActiveSync's autodiscovery. This additional check will save us in that case.