From d476547319cf32a415e41103467fee2727a95ed9 Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Fri, 28 Feb 2014 15:35:26 -0500 Subject: [PATCH] jabber_mirror: Document which mode handles which kinds of messages (imported from commit 983224ac58bce724529806f6b8eaa3ea30cc730b) --- bots/jabber_mirror.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bots/jabber_mirror.py b/bots/jabber_mirror.py index d493afe..a61662c 100755 --- a/bots/jabber_mirror.py +++ b/bots/jabber_mirror.py @@ -23,6 +23,21 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# The following is a table showing which kinds of messages are handled by the +# mirror in each mode: +# +# Message origin/type --> | Jabber | Zulip +# Mode/sender-, +-----+----+--------+---- +# V | MUC | PM | stream | PM +# --------------+-------------+-----+----+--------+---- +# | other sender| | x | | +# personal mode +-------------+-----+----+--------+---- +# | self sender | | x | x | x +# ------------- +-------------+-----+----+--------+---- +# | other sender| x | | | +# public mode +-------------+-----+----+--------+---- +# | self sender | | | | + import logging import threading import optparse