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