Merge pull request 'fx' (#61) from master into dev
Reviewed-on: https://gitea.chocomarsh.com/self/botalka/pulls/61
This commit is contained in:
commit
1edbbf4800
@ -23,6 +23,7 @@ class Daemon(base.Daemon, queues.TasksHandlerMixin):
|
||||
return 'botalka_mailbox'
|
||||
|
||||
def process(self, payload: dict):
|
||||
print(f"Get message {payload}")
|
||||
message = Message.model_validate(payload)
|
||||
bot = platform.platform_client.get_config('bots')[message.project][message.name]
|
||||
if not bot['mailbox_enabled']:
|
||||
|
Loading…
Reference in New Issue
Block a user