This is a simple answer and has not changed, medical, recreational, no difference. I highlighted the pertinent parts.
"Therefore, any person who uses or is addicted to marijuana, regardless of whether his or her State has passed legislation authorizing marijuana use for medicinal purposes, is an unlawful user of or addicted to a controlled substance, and is prohibited by Federal law from possessing firearms or ammunition"