Commit graph

8 commits

Author SHA1 Message Date
wulan17
a551153d92
PyroFork: Use Dummy client object to check wether connection object is valid or not
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-25 23:39:52 +07:00
wulan17
b62adc60c8
PyroFork: storage: mongo: Use existing database connection
support both async_pymongo and motor

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-21 12:57:01 +07:00
wulan17
8ca1b35f81
Revert "PyroFork: storage: mongo_storage: Move into async_pymongo"
This reverts commit 0280fc2572.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-21 12:55:58 +07:00
wulan17
e757a1ea44
PyroFork: storage: mongo_storage: Move into async_pymongo
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-19 21:12:58 +07:00
Juan Simon .D
2bf362ca0a
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>
2023-05-18 15:07:57 +07:00
Animesh Murmu
e762aa2c7c
fix: Fix ValueError: Invalid peer type (Issue #2)
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-18 13:53:00 +07:00
Animesh Murmu
69e24e06bd
fix: Fix ValueError: Invalid peer type (Issue #2)
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-18 13:53:00 +07:00
Animesh Murmu
e3d134492b
Pyrofork: Add Mongodb Session Storage
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Co-authored-by: wulan17 <wulan17@nusantararom.org>
2023-05-10 19:03:27 +07:00