core: presence status + last resource refactored and kept in entitiesCache in memory.py, profile cache is purged on disconnection
This commit is contained in:
parent
d229d7feae
commit
8f622601c6
1 changed files with 63 additions and 45 deletions
|
|
@ -92,7 +92,7 @@ class XEP_0277():
|
|||
microblog_data['author'] = _entry.authors[0].name.text
|
||||
microblog_data['timestamp'] = str(int(_entry.updated.tf))
|
||||
microblog_data['id'] = item['id']
|
||||
except AttributeError, KeyError:
|
||||
except (AttributeError, KeyError):
|
||||
error(_('Error while parsing atom entry for microblogging event'))
|
||||
return {}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue