Add support for IPv6-only hosts

This commit is contained in:
Andreas Palm
2023-06-05 22:53:37 +02:00
parent 7868b05ed3
commit dfe22800dd
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -235,6 +235,7 @@ class AbstractUser(ABC):
loop=self.loop,
base_logger=base_logger,
update_error_callback=self._telethon_update_error_callback,
use_ipv6=self.config["telegram.connection.use_ipv6"],
)
self.client.add_event_handler(self._update_catch)