From f382ce2a6ce552262f8de26f90381ef8fd8b4463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Mon, 25 Jun 2018 20:08:48 +0200 Subject: [PATCH] Remove unused code --- gajim/common/connection.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/gajim/common/connection.py b/gajim/common/connection.py index 37f601b4e..f0b552f0a 100644 --- a/gajim/common/connection.py +++ b/gajim/common/connection.py @@ -486,12 +486,6 @@ class CommonConnection: def account_changed(self, new_name): self.name = new_name - def get_settings(self): - """ - To be implemented by derived classes - """ - raise NotImplementedError - def get_bookmarks(self): """ To be implemented by derived classes @@ -2223,17 +2217,6 @@ class Connection(CommonConnection, ConnectionHandlers): query.setTagData('prompt', prompt) self.connection.SendAndCallForResponse(iq, _on_prompt_result) - def get_settings(self): - """ - Get Gajim settings as described in XEP 0049 - """ - if not app.account_is_connected(self.name): - return - iq = nbxmpp.Iq(typ='get') - iq2 = iq.addChild(name='query', namespace=nbxmpp.NS_PRIVATE) - iq2.addChild(name='gajim', namespace='gajim:prefs') - self.connection.send(iq) - def seclabel_catalogue(self, to, callback): if not app.account_is_connected(self.name): return