ServiceDiscoveryManager identities should be non-static and kept in a Set to allow multiple identities as per XEP-30
Description
SDM only allows exactly one global identity across all connection instances. But XEP-30 allows multiple identities and those should be connection local. Redesign the SDM identity API to allow that.
SDM only allows exactly one global identity across all connection instances. But XEP-30 allows multiple identities and those should be connection local. Redesign the SDM identity API to allow that.
Releavant Code: http://fisheye.igniterealtime.org/browse/smack/trunk/source/org/jivesoftware/smackx/ServiceDiscoveryManager.java?hb=true#to50