This commit is contained in:
luk3yx
2023-06-23 19:13:52 +12:00
parent f00a14e316
commit a1b45952eb
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ import functools, html.parser, itertools, json, math, re, time, uuid
import miniirc, requests, traceback # type: ignore
ver = (0, 0, 9)
ver = (0, 0, 10)
__version__ = '.'.join(map(str, ver))
@@ -480,8 +480,8 @@ class Matrix(miniirc.IRC):
self.__numeric('001', f'Welcome to Matrix {self.current_nick}')
next_batch: Optional[str] = None
self.connected = True
while self.connected:
req_time = time.monotonic()
try:
res = self.__get('sync', 35, timeout='30000',
since=next_batch)

View File

@@ -5,7 +5,7 @@ from setuptools import setup
setup(
name='miniirc_matrix',
version='0.0.9',
version='0.0.10',
py_modules=['miniirc_matrix'],
author='luk3yx',
description='A Matrix wrapper for miniirc.',