aboutsummaryrefslogtreecommitdiffstats
path: root/apidocs/python
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2017-01-22 18:08:29 +0000
committerJames Booth <boothj5@gmail.com>2017-01-22 18:09:04 +0000
commit83385cdbc0106c5aae61d87975a2e082abdbf634 (patch)
tree6445a23a717d34b474efbc46267c04134fda54a5 /apidocs/python
parent7090f85d853b32ac6799bdc5641cd81502ff65dc (diff)
downloadprofani-tty-83385cdbc0106c5aae61d87975a2e082abdbf634.tar.gz
Add pre chat and room message blocking
Diffstat (limited to 'apidocs/python')
-rw-r--r--apidocs/python/src/plugin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/apidocs/python/src/plugin.py b/apidocs/python/src/plugin.py
index 7e22d5e5..6e200bad 100644
--- a/apidocs/python/src/plugin.py
+++ b/apidocs/python/src/plugin.py
@@ -106,7 +106,7 @@ def prof_pre_chat_message_send(barejid, message):
:param message: the message to be sent
:type barejid: str or unicode
:type message: str or unicode
- :return: the new message to send, or ``None`` to preserve the original message
+ :return: the modified or original message to send, or ``None`` to cancel sending of the message
:rtype: str or unicode
"""
pass
@@ -158,7 +158,7 @@ def prof_pre_room_message_send(barejid, message):
:param message: the message to be sent
:type barejid: str or unicode
:type message: str or unicode
- :return: the new message to send, or ``None`` to preserve the original message
+ :return: the modified or original message to send, or ``None`` to cancel sending of the message
:rtype: str or unicode
"""
pass
@@ -227,7 +227,7 @@ def prof_pre_priv_message_send(barejid, nick, message):
:type barejid: str or unicode
:type nick: str or unicode
:type message: str or unicode
- :return: the new message to send, or ``None`` to preserve the original message
+ :return: the modified or original message to send, or ``None`` to cancel sending of the message
:rtype: str or unicode
"""
pass