diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-10-29 12:56:53 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-10-29 13:07:53 +0300 |
commit | 74be6b5e2c70599692b851e687b54f7b36f1c9c0 (patch) | |
tree | 8273abf54f28b6e5323671c7db3b483501bda375 | |
parent | 26e018ffe5c9e0f8b29a5d8700772aaede99d505 (diff) |
change: Avatar: Don’t use custom avatar for IRC group chats
-rw-r--r-- | gajim/gtk/avatar.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gajim/gtk/avatar.py b/gajim/gtk/avatar.py index 504ce6e88..b25419426 100644 --- a/gajim/gtk/avatar.py +++ b/gajim/gtk/avatar.py @@ -470,13 +470,6 @@ class AvatarStorage(metaclass=Singleton): transport_icon: str | None = None, style: str = 'circle') -> cairo.ImageSurface: - if transport_icon == 'gateway-irc': - surface = load_icon_surface('gajim-agent-irc', size, scale) - assert surface is not None - surface = add_transport_to_avatar(surface, transport_icon) - self._cache[jid][(size, scale, None, transport_icon)] = surface - return surface - if not default: surface = self._cache[jid].get((size, scale, None, transport_icon)) if surface is not None: |