Compare commits
5 Commits
sleek-1.1
...
sleek-1.1.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b2c865a58 | ||
|
|
db0e683d01 | ||
|
|
e29a9e0394 | ||
|
|
edf65f4f52 | ||
|
|
98677fd602 |
@@ -45,7 +45,7 @@ The latest source code for SleekXMPP may be found on `Github
|
|||||||
``develop`` branch.
|
``develop`` branch.
|
||||||
|
|
||||||
**Latest Release**
|
**Latest Release**
|
||||||
- `1.1 <http://github.com/fritzy/SleekXMPP/zipball/1.1>`_
|
- `1.1.2 <http://github.com/fritzy/SleekXMPP/zipball/1.1.2>`_
|
||||||
|
|
||||||
**Develop Releases**
|
**Develop Releases**
|
||||||
- `Latest Develop Version <http://github.com/fritzy/SleekXMPP/zipball/develop>`_
|
- `Latest Develop Version <http://github.com/fritzy/SleekXMPP/zipball/develop>`_
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class XEP_0077(BasePlugin):
|
|||||||
# We have already logged in with an account
|
# We have already logged in with an account
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if self.create_account:
|
if self.create_account and self.xmpp.event_handled('register'):
|
||||||
form = self.get_registration()
|
form = self.get_registration()
|
||||||
self.xmpp.event('register', form, direct=True)
|
self.xmpp.event('register', form, direct=True)
|
||||||
return True
|
return True
|
||||||
|
|||||||
@@ -119,7 +119,12 @@ class RosterNode(object):
|
|||||||
"""Return a dictionary mapping group names to JIDs."""
|
"""Return a dictionary mapping group names to JIDs."""
|
||||||
result = {}
|
result = {}
|
||||||
for jid in self._jids:
|
for jid in self._jids:
|
||||||
for group in self._jids[jid]['groups']:
|
groups = self._jids[jid]['groups']
|
||||||
|
if not groups:
|
||||||
|
if '' not in result:
|
||||||
|
result[''] = []
|
||||||
|
result[''].append(jid)
|
||||||
|
for group in groups:
|
||||||
if group not in result:
|
if group not in result:
|
||||||
result[group] = []
|
result[group] = []
|
||||||
result[group].append(jid)
|
result[group].append(jid)
|
||||||
|
|||||||
@@ -9,5 +9,5 @@
|
|||||||
# We don't want to have to import the entire library
|
# We don't want to have to import the entire library
|
||||||
# just to get the version info for setup.py
|
# just to get the version info for setup.py
|
||||||
|
|
||||||
__version__ = '1.1.0'
|
__version__ = '1.1.2'
|
||||||
__version_info__ = (1, 1, 0, '', 0)
|
__version_info__ = (1, 1, 2, '', 0)
|
||||||
|
|||||||
@@ -816,6 +816,9 @@ class XMLStream(object):
|
|||||||
def _cert_expiration(self, event):
|
def _cert_expiration(self, event):
|
||||||
"""Schedule an event for when the TLS certificate expires."""
|
"""Schedule an event for when the TLS certificate expires."""
|
||||||
|
|
||||||
|
if not self.use_tls and not self.use_ssl:
|
||||||
|
return
|
||||||
|
|
||||||
def restart():
|
def restart():
|
||||||
log.warn("The server certificate has expired. Restarting.")
|
log.warn("The server certificate has expired. Restarting.")
|
||||||
self.reconnect()
|
self.reconnect()
|
||||||
|
|||||||
Reference in New Issue
Block a user