Skip to content
Browse files

Give TNStropheClient a disconnect method

* For some reason this isn't caught by - (id)forwardingTargetForSelector:(SEL)aSelector
  • Loading branch information...
1 parent f9d6b4f commit 2980caf2e439b8fedcd8d5ae4088c41758af1d98 @benlangfeld committed Jan 16, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 TNStropheClient.j
View
5 TNStropheClient.j
@@ -134,6 +134,11 @@
[_connection connectWithJID:_JID andPassword:_password];
}
+- (void)disconnect
+{
+ [_connection disconnect];
+}
+
- (void)onStropheConnected:(TNStropheConnection)aConnection
{
/*! Upon authenticating with a server and binding a resource (thus becoming a connected resource as

0 comments on commit 2980caf

Please sign in to comment.
Something went wrong with that request. Please try again.