Philipp Hörist pushed to branch storage at gajim / gajim


Commits:
94979b38 by Philipp Hörist at 2024-03-31T22:59:17+02:00
fix: Remove obsolete code

- - - - -


3 changed files:

- gajim/common/app.py
- gajim/common/modules/misc.py
- gajim/gtk/util.py


Changes:

=====================================
gajim/common/app.py
=====================================
@@ -461,7 +461,6 @@ def jid_is_transport(jid: str) -> bool:
     return False
 
 
-functools.lru_cache(None)
 def get_jid_from_account(account_name: str) -> str:
     '''
     Return the jid we use in the given account


=====================================
gajim/common/modules/misc.py
=====================================
@@ -9,7 +9,6 @@
 
 from nbxmpp.structs import MessageProperties
 
-# from gajim.common.storage.archive.structs import DbInsertOOBRowData
 from gajim.common.storage.archive import models as mod
 
 log = logging.getLogger('gajim.c.m.misc')


=====================================
gajim/gtk/util.py
=====================================
@@ -700,7 +700,6 @@ def open_window(name: str, **kwargs: Any) -> Any:
     window = get_app_window(name,
                             kwargs.get('account'),
                             kwargs.get('jid'))
-
     if window is None:
         module = import_module(WINDOW_MODULES[name])
         window_cls = getattr(module, name)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/94979b38d56912b552519fc079fff864142498dd

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/94979b38d56912b552519fc079fff864142498dd
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to