Mercurial > libervia-backend
diff src/plugins/plugin_xep_0277.py @ 1699:a72f04c67ac9
plugin XEP-0277: just a reminder
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 27 Nov 2015 17:53:13 +0100 |
parents | c6c835046681 |
children | 6d6eae490681 |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0277.py Fri Nov 27 16:58:16 2015 +0100 +++ b/src/plugins/plugin_xep_0277.py Fri Nov 27 17:53:13 2015 +0100 @@ -508,6 +508,8 @@ 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())