Removing legacy xmpp_domain output

Signed-off-by: Georg <georg@lysergic.dev>
This commit is contained in:
Georg Pfuetzenreuter 2021-12-18 01:14:18 +01:00
parent c122dfcf92
commit 7cad4e42ee
Signed by: Georg
GPG Key ID: 1DAF57F49F8E8F22

View File

@ -190,7 +190,7 @@ class Mailcow(callbacks.Plugin):
) )
data = response.json() data = response.json()
#return(print(data)) #return(print(data))
irc.reply('Username: ' + data['username'] + ' | Quota: ' + str(data['quota']) + ' | Messages: ' + str(data['messages']) + ' | Mail Active: ' + str(data['active']) + ' | XMPP Active: ' + str(data['domain_xmpp'])) irc.reply('Username: ' + data['username'] + ' | Quota: ' + str(data['quota']) + ' | Messages: ' + str(data['messages']) + ' | Mail Active: ' + str(data['active']))
except requests.exceptions.ConnectionError as err: except requests.exceptions.ConnectionError as err:
irc.error("Connection failed.") irc.error("Connection failed.")
except requests.exceptions.HTTPError as err: except requests.exceptions.HTTPError as err: