But now it seems he's forgiven his pal - Sheeran and Horan were spotted dancing and palling around at the iHeartRadio festival in Las Vegas over the weekend.
And Sheeran has revealed he wrote a song for One Direction, which appears on the group's new release Four.
"I wasn't going to do it again because my record label got very annoyed that my first number one was a song I gave to somebody else and they were like, 'Don't do it', he told Small.
"But I did (TV show) Britain's Got Talent and (One Direction mentor) Simon Cowell... mentioned it... and then the next day I was in Copenhagen and I just got an idea and I went in the shower room, where it's big and reverberative (sic) and wrote it.
"And I was like, 'That sounds like a song that would be perfect for them', and sent it across.
"It's one of these songs that I wouldn't have used for myself. It was written specifically for them."
- WENN