Commit graph

3 commits

Author SHA1 Message Date
wulan17
7fca0e87bb
Pyrofork: Clean usernames database before updating usernames database
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-10-28 23:08:42 +07:00
wulan17
db576b8a2f
Pyrofork: Storage: MongoStorage: Save fragment username(s) to sessions database
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-10-26 19:17:53 +07:00
Animesh Murmu
b43b20351f
Pyrofork: Add Mongodb Session Storage
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Co-authored-by: wulan17 <wulan17@nusantararom.org>

Pyrofork: Use session name as database name, add some parameters informations and some cleanup (#3)

Changes to be committed:
	modified:   pyrogram/client.py
	modified:   pyrogram/storage/mongo_storage.py

Signed-off-by: wulan17 <wulan17@nusantararom.org>

PyroFork: storage: mongo: Use existing database connection

support both async_pymongo and motor

Signed-off-by: wulan17 <wulan17@nusantararom.org>

PyroFork: Use Dummy client object to check wether connection object is valid or not

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:37:39 +07:00