Convert name to barejid on retrieving win in titlebar for otr messages

fixes #289