Even if ejabberd was safe regarding logjam attack, ejabberd 15.06 adds security improvements that makes ejabberd even more resistant to future threats.
You can read more details on the following blog post: Securing ejabberd against logjam attacks … and future threats.