There is a patch for Spark (trunk) wich adds ability to using local computer hostname as xmpp-resource.
Added new field to LocalPreferences - useHostnameAsResource
Added the appropriate checkbox to Advanced connection preferences (default - off)
When checkbox is on then hostname used as resource
i18n - english, russian
use-hostname-as-resource.patch.zip (2645 Bytes)