# HG changeset patch # User Goffi # Date 1448643193 -3600 # Node ID a72f04c67ac9669834d52b76fff47079e18ae24f # Parent 7923dc51143e9aa809a3dfec14b6c18868d53222 plugin XEP-0277: just a reminder diff -r 7923dc51143e -r a72f04c67ac9 src/plugins/plugin_xep_0277.py --- 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())