Added getNetworkId(UserId user, const QString &network) to make the transition to...