plugins/remove_get_trackers: add deprecation notice
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
b2f3c0d069
commit
c9f331245f
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ import re
|
||||||
|
|
||||||
class Plugin(BasePlugin):
|
class Plugin(BasePlugin):
|
||||||
def init(self):
|
def init(self):
|
||||||
|
self.api.information('This plugin is deprecated and will be replaced by \'untrackme\'.', 'Warning')
|
||||||
|
|
||||||
self.api.add_event_handler('muc_say', self.remove_get_trackers)
|
self.api.add_event_handler('muc_say', self.remove_get_trackers)
|
||||||
self.api.add_event_handler('conversation_say', self.remove_get_trackers)
|
self.api.add_event_handler('conversation_say', self.remove_get_trackers)
|
||||||
self.api.add_event_handler('private_say', self.remove_get_trackers)
|
self.api.add_event_handler('private_say', self.remove_get_trackers)
|
||||||
|
|
Loading…
Reference in a new issue