Seol mar théacs é seo: Synchronizing single photons with quantum memories