From 1d08040db4e334bf38c6590612bc27cefcebac87 Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 27 Nov 2015 17:53:13 +0100 Subject: [PATCH] plugin XEP-0277: just a reminder --- src/plugins/plugin_xep_0277.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/plugin_xep_0277.py b/src/plugins/plugin_xep_0277.py index d3220059..df85fbae 100755 --- a/src/plugins/plugin_xep_0277.py +++ b/src/plugins/plugin_xep_0277.py @@ -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())