Changing of username

Hi,

After I login and create a connection using a credential like, “chatmaker” , I notice that when i try and get the username from the connection object i see “chatmaker@domain/Smack”. Is there some way to change this? I can change the domain using the administration console, but how do I change the “/Smack”.

I am using Smack with a wildfire server.

Thanks for any help!

That’'s the “resource” part of XMPPConnection.login():

url=http://www.jivesoftware.org/builds/smack/docs/latest/javadoc/org/jivesoftwar e/smack/XMPPConnection.html#login(java.lang.String,java.lang.String,java.lang.St ring)javadocs[/url]

(You have to remove the %20 from that link, since this forum software seems to break the URL.)

When logging into an XMPP account you have the option of setting a resource e.g.

jon@jabber.org/work or jon@jabber.org/home

If you dont specifify a resource then the client you use to connect with will usually (if not always) give you one. In most cases its usually the clients name.

I’'m not sure if there will be a setting in either spark or wildfire to set this to something different other than “Spark”