From 2f9f36835c09db538ccc2fd67097a8ee693bb1cb Mon Sep 17 00:00:00 2001 From: nico Date: Tue, 29 Oct 2019 17:01:24 +0100 Subject: [PATCH] moar clients * add some more clients and acronyms to the list + add requirements file --- ejabberdrpc.py | 8 +++++++- requirements.txt | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) mode change 100755 => 100644 ejabberdrpc.py create mode 100644 requirements.txt diff --git a/ejabberdrpc.py b/ejabberdrpc.py old mode 100755 new mode 100644 index cee769b..93717f8 --- a/ejabberdrpc.py +++ b/ejabberdrpc.py @@ -29,10 +29,16 @@ class EjabberdMetrics(): "Conv6ations for Sum7": ["Conversations with IPv6"], "Conversations": [], "Pix-Art Messenger": [], + "Gajim": ["gajim", "Gajim"], + "Psi+": [], "jitsi": [], - "dino": [], + "Dino": ["dino", "Dino"], "poezio": [], + "profanity": [], + "Xabber": [], + "ChatSecure": ["chatsecure"] } + for client, names in clientmap.items(): for c in names: if c in resource: diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..d923c8d --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +influxdb>=5.2.0 \ No newline at end of file