diff --git a/gajim/common/socks5.py b/gajim/common/socks5.py index ea9402dae..4d406299b 100644 --- a/gajim/common/socks5.py +++ b/gajim/common/socks5.py @@ -296,7 +296,7 @@ class SocksQueue: def activate_proxy(self, idx): if not self.isHashInSockObjs(self.senders, idx): return - for key in self.senders: + for key in list(self.senders): if idx in key: sender = self.senders[key] if sender.file_props.type_ != 's':