From d0973d121d7d7ab92de5e8ebc45216c9a93adc4a Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 16 May 2022 13:02:59 +0200 Subject: [PATCH] core: remove useless method (it's available directly in client) --- sat/core/sat_main.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sat/core/sat_main.py b/sat/core/sat_main.py index ac96d958..33571832 100644 --- a/sat/core/sat_main.py +++ b/sat/core/sat_main.py @@ -939,10 +939,6 @@ class SAT(service.Service): return False return self.profiles[profile].isConnected() - def isAdmin(self, client: xmpp.SatXMPPEntity) -> bool: - """Tells if a client is an administrator with extra privileges""" - return client.profile in self.memory.admins - ## Encryption ## def registerEncryptionPlugin(self, *args, **kwargs):