If one is lying about another then he will be sinful. On top of that he is causing fitnah and too much talk hardens the heart. As does too much joking.
A joker is never taken seriously especially in matters of religion.
And if he is making jokes of sins, which the other has done and repented from, he will most likely be afflicted by it.