[TEMP] Pyrofork: Storage: SqliteStorage: Add empty update_usernames function

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2023-10-26 19:55:21 +07:00
parent e27ae420dc
commit 71623e1080
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5

View file

@ -132,6 +132,9 @@ class SQLiteStorage(Storage):
peers
)
async def update_usernames(self, usernames: List[Tuple[int, str]]):
pass
async def get_peer_by_id(self, peer_id: int):
r = self.conn.execute(
"SELECT id, access_hash, type FROM peers WHERE id = ?",