Commit Graph

16 Commits

Author SHA1 Message Date
Dan
8e9e8b4ac4 Allow stop, restart and add/remove_handler to be non-blocking 2019-10-27 09:37:28 +01:00
Dan
a015f998fa Revert "Stop instantiating logger objects and directly use the logging module"
This reverts commit 792068d7
2019-09-08 19:24:06 +02:00
Dan
792068d7c8 Stop instantiating logger objects and directly use the logging module 2019-09-08 12:59:28 +02:00
Dan
047fe37860 Add support for scheduled messages 2019-09-07 15:56:46 +02:00
Mendel E
02451ffeb5 Try/except handler.check()
Previously, when handler.check raised errors, it would be excepted by
the try on line 153, and would fail to loop through the rest of the
groups/handlers.
2019-07-29 07:31:07 -04:00
Dan
2f07e7abc4 Rework user.status, add last_online_date and next_offline_date 2019-07-11 01:35:02 +02:00
Dan
e7fffd2f76 Fix workers not running concurrently anymore after using a shared Lock 2019-06-22 00:45:49 +02:00
Dan
8d0e161b56 Lock dispatcher groups. Fixes #255 2019-06-21 01:53:17 +02:00
Dan
a21858a262
Merge pull request #251 from pyrogram/types-revamp
Types revamp
2019-06-12 10:48:10 +02:00
Dan
fd0a40442a Fix plugins not getting reloaded properly when restarting a client 2019-06-11 18:31:38 +02:00
Dan
43493733c9 Rearrange code 2019-06-08 15:28:03 +02:00
Dan
cfbc5298df Remove Messages type 2019-06-08 15:13:52 +02:00
Dan
d243ebc2cd Performance improvements 2019-06-01 13:18:48 +02:00
Dan
6f2c625cd1 Handle minified poll updates 2019-05-05 15:44:53 +02:00
Dan
5905f761fa Add PollHandler type and on_poll decorator for handling Poll updates 2019-04-14 20:50:13 +02:00
Dan
066633ce45 Move dispatcher.py inside ext folder 2019-03-25 09:45:37 +01:00