diff options
author | nicoco <nicoco@nicoco.fr> | 2023-10-05 22:37:00 +0300 |
---|---|---|
committer | nicoco <nicoco@nicoco.fr> | 2023-10-12 10:27:06 +0300 |
commit | 504ebff13f327dbc2600dc0774fdfddb4d83f43e (patch) | |
tree | 3c7fb3050f96ddce38891bc676da4dada370ee02 | |
parent | 0efdbac7fa5994700ba316bf397bfce7b2d1ef58 (diff) |
fix: Caps: Add disco info to cache after query
-rw-r--r-- | gajim/common/modules/caps.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gajim/common/modules/caps.py b/gajim/common/modules/caps.py index 706244333..611c3fe69 100644 --- a/gajim/common/modules/caps.py +++ b/gajim/common/modules/caps.py @@ -178,6 +178,9 @@ class Caps(BaseModule): self._log.info('Update %s', task.entity.jid) contact = self._con.get_module('Contacts').get_contact( task.entity.jid) + app.storage.cache.set_last_disco_info(task.entity.jid, + disco_info, + cache_only=True) contact.notify('caps-update') def update_caps(self) -> None: |