plugin XEP-0277: just a reminder

This commit is contained in:
Goffi 2015-11-27 17:53:13 +01:00
commit 1d08040db4

View file

@ -508,6 +508,8 @@ class XEP_0277(object):
see http://wiki.goffi.org/wiki/Bridge_API_-_Microblogging/en for details
@param profile: %(doc_profile)s
"""
# TODO: check that all data keys are used, this would avoid sending publicly a private message
# by accident (e.g. if group pluging is not loaded, and "grou*" key are not used)
assert profile is not None
item_id = data.get('id') or unicode(uuid.uuid4())