changeset 3779:89b13b405b93

core: remove useless method (it's available directly in client)
author Goffi <goffi@goffi.org>
date Mon, 16 May 2022 13:02:59 +0200
parents 7b90d7c474fa
children 2c187445a3d3
files sat/core/sat_main.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/sat/core/sat_main.py	Sun May 15 14:15:24 2022 +0200
+++ b/sat/core/sat_main.py	Mon May 16 13:02:59 2022 +0200
@@ -939,10 +939,6 @@
             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):