plugin XEP-0277: just a reminder
This commit is contained in:
parent
a03b45c7f6
commit
1d08040db4
1 changed files with 2 additions and 0 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in a new issue