mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
[TEMP] Pyrofork: Storage: SqliteStorage: Add empty update_usernames function
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
e27ae420dc
commit
71623e1080
1 changed files with 3 additions and 0 deletions
|
|
@ -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 = ?",
|
||||
|
|
|
|||
Loading…
Reference in a new issue