summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2020-08-14 01:13:36 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2020-08-14 01:15:53 +0200
commitc9f331245f7ba6a2120247ef3bdc654fd0d0624f (patch)
treeb0556f15731af6fe51a9c9253e38155306741169
parentb2f3c0d06984b142d64146fb66e71fa27f94c608 (diff)
downloadpoezio-c9f331245f7ba6a2120247ef3bdc654fd0d0624f.tar.gz
poezio-c9f331245f7ba6a2120247ef3bdc654fd0d0624f.tar.bz2
poezio-c9f331245f7ba6a2120247ef3bdc654fd0d0624f.tar.xz
poezio-c9f331245f7ba6a2120247ef3bdc654fd0d0624f.zip
plugins/remove_get_trackers: add deprecation notice
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--plugins/remove_get_trackers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/remove_get_trackers.py b/plugins/remove_get_trackers.py
index 423e9b4e..db1e87f3 100644
--- a/plugins/remove_get_trackers.py
+++ b/plugins/remove_get_trackers.py
@@ -6,6 +6,8 @@ import re
class Plugin(BasePlugin):
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('conversation_say', self.remove_get_trackers)
self.api.add_event_handler('private_say', self.remove_get_trackers)