Skip to content

Commit

Permalink
[TEMP] Pyrofork: Storage: SqliteStorage: Add empty update_usernames f…
Browse files Browse the repository at this point in the history
…unction

Signed-off-by: wulan17 <wulan17@nusantararom.org>
  • Loading branch information
wulan17 committed Oct 26, 2023
1 parent 9873b20 commit 09cb651
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyrogram/storage/sqlite_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ async def update_peers(self, peers: List[Tuple[int, int, str, str, str]]):
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 = ?",
Expand Down

0 comments on commit 09cb651

Please sign in to comment.