changeset 1699:a72f04c67ac9

plugin XEP-0277: just a reminder
author Goffi <goffi@goffi.org>
date Fri, 27 Nov 2015 17:53:13 +0100
parents 7923dc51143e
children 0502a1fbe8b5
files src/plugins/plugin_xep_0277.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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())