File name is too long error with very long nicknames
When person with very long nickname enters conference, gajim shows message "File name is too long" (approximate translation from russian) with full file name. Since full file name is really long, message window has width several time greater than desktop width, so its not easy to close message with "OK" button.
This bug was used to make kind of DoS attack - person was changing nickname every second, causing new error message window to appear every second. The only solution was to leave conference until attacker was banned.
Problem seems to be caused by attempt to create vcard cache file for contact with long nickname. Possible solution - limit filename length and store full nickname inside cache file. Also it would be nice to limit error message text length and popup frequency.
The example nickname follows: g1S07ZluNndpxXk8NF2XSmNslCx2tQsPmamxF9mUSzP75dNRtHsphF8VvWxE2IhyP0uFVCgUJjhd0epxgVbe6CqDg440w7uPr8ZQoIwncbXMI5VDCcubTDLDZMDnUgOvKTlifXckSkxh3PPqA75ff99ejl2txeMr9LOpIVlPPm4V7CaRi1KvBrJCeuj4Xi3jUAn3F8j0yHL66qZ5UZ4DqahD8QTs138R3hbRWboktCo4ee2S1wLGR9jTxzZL0rw15QWimtMgJPqHgmFW7OFBTfztA061auIINzCuBRukMo262IctegWx2nvHwuFnzcg1BpavlgyjY86Som0pPczFsK7SmNPaOWXje4zeCbBKrdSPAOHTWLbCY5uJUlZxY12sP9fiWClEJKFRnyOsrtWMEZkWn3jgYXdAgKxLNtoanwHpNGlSwwSgJS0wrUnOuO3NWCiaeUPWecgRzJQCdRcMcPAOIoBTMssHFKFsgRwiqreCi2haDD5L