Index: src/XMPPConnection.h ================================================================== --- src/XMPPConnection.h +++ src/XMPPConnection.h @@ -65,12 +65,10 @@ OFXMLParser *parser; OFXMLElementBuilder *elementBuilder; OFString *username, *password, *server, *resource; XMPPJID *JID; uint16_t port; - /// Whether to use TLS - BOOL useTLS; id delegate; XMPPAuthenticator *authModule; BOOL needsSession; unsigned int lastID; OFString *bindID, *sessionID, *rosterID; @@ -78,11 +76,10 @@ } @property (copy) OFString *username, *password, *server, *resource; @property (copy, readonly) XMPPJID *JID; @property (assign) uint16_t port; -@property (assign) BOOL useTLS; @property (retain) id delegate; @property (readonly, retain) XMPPRoster *roster; /** * Connects to the XMPP service. Index: src/XMPPConnection.m ================================================================== --- src/XMPPConnection.m +++ src/XMPPConnection.m @@ -55,11 +55,11 @@ - (void)XMPP_handleSession: (XMPPIQ*)iq; - (void)XMPP_handleRoster: (XMPPIQ*)iq; @end @implementation XMPPConnection -@synthesize JID, port, useTLS, delegate, roster; +@synthesize JID, port, delegate, roster; - init { self = [super init]; @@ -67,11 +67,10 @@ sock = [[OFTCPSocket alloc] init]; parser = [[OFXMLParser alloc] init]; elementBuilder = [[OFXMLElementBuilder alloc] init]; port = 5222; - useTLS = YES; parser.delegate = self; elementBuilder.delegate = self; roster = [[XMPPRoster alloc] initWithConnection: self];