empty ver="" with presence breaks spectrum2
When sending presence to the spectrum2 gateway gajim sends:
\<presence id='4429' to='268061905@icq.ceplovi.cz' from='matej@ceplovi.cz/Gajim'>\<priority>40\</priority>\<show>away\</show>\<x xmlns='vcard-temp:x:update'>\<photo>0ae77b92efd692b1b67b019100a
67c93a181ccc2\</photo>\</x>\<c ver='' hash='sha-1' node='http://gajim.org' xmlns='http://jabber.org/protocol/caps'/>\<status> ('Pryč' jako výsledek nečinnosti větší než 5 min)\</status>\</presence>
which according to spectrum2 developer is not right, because ver='' attribute should not be empty.