diff options
author | Michael Weibel <mweibel@users.noreply.github.com> | 2015-03-10 08:33:29 +0300 |
---|---|---|
committer | Michael Weibel <mweibel@users.noreply.github.com> | 2015-03-10 08:33:29 +0300 |
commit | 039aa58d206558785c61d4f57f79d4f59d1173d3 (patch) | |
tree | 98b7ea3e55bd55cc37071addf818d8b1039621d5 /src | |
parent | 1e3d463e51b2853335279016648b8e983e3d3b84 (diff) | |
parent | 46fae98660468d414598db53bbcc7df3efc74b6a (diff) |
Merge pull request #366 from macedo/hotfix/avoid-to-leave-rooms-on-disconnect
avoid to leave room on disconnect
Diffstat (limited to 'src')
-rw-r--r-- | src/core.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core.js b/src/core.js index 2e5fd6a..ad56181 100644 --- a/src/core.js +++ b/src/core.js @@ -330,9 +330,6 @@ Candy.Core = (function(self, Strophe, $) { */ self.disconnect = function() { if(_connection.connected) { - $.each(self.getRooms(), function() { - Candy.Core.Action.Jabber.Room.Leave(this.getJid()); - }); _connection.disconnect(); } }; |