Fixed all plugins (excl lua) to work with new hooks

This commit is contained in:
James Booth
2014-10-30 00:20:19 +00:00
parent b9f69dcda6
commit 35e274a2ba
7 changed files with 229 additions and 140 deletions

View File

@@ -8,5 +8,11 @@ def _emote(input_str):
result = result.replace(":(", u'\u2639')
return result
def prof_before_message_displayed(message):
def prof_pre_chat_message_display(jid, message):
return _emote(message)
def prof_pre_room_message_display(room, nick, message):
return _emote(message)
def prof_pre_priv_message_display(room, nick, message):
return _emote(message)