Separate server (where to connect to) and domain (what that server hosts)

This commit is contained in:
Florian Zeitz 2011-05-27 02:17:47 +02:00
parent ec3e12b62a
commit 901108dd1c
3 changed files with 83 additions and 21 deletions

View file

@ -97,7 +97,7 @@ OF_APPLICATION_DELEGATE(AppDelegate)
[OFApplication terminateWithStatus: 1];
}
[conn setServer: [arguments objectAtIndex: 0]];
[conn setDomain: [arguments objectAtIndex: 0]];
[conn setUsername: [arguments objectAtIndex: 1]];
[conn setPassword: [arguments objectAtIndex: 2]];
[conn setResource: @"ObjXMPP"];