Commit 55edb644 authored by mathieui's avatar mathieui

Remove useless stuff from the simple_notify plugin

parent 5670304b
# A plugin that adds the /link command, letting you open links that are pasted
# in the conversation, without having to click them.
import os
import re
from plugin import BasePlugin, PluginConfig
from plugin import BasePlugin
from xhtml import clean_text, get_body_from_message_stanza
import common
url_pattern = re.compile(r'\b(http[s]?://(?:\S+))\b', re.I|re.U)
class Plugin(BasePlugin):
def init(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment