Fixes a bug when ending otr conversations in empathy.