Skip to content

Commit

Permalink
Adapt to WeChat applet automatic create bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
codefly67 committed Dec 11, 2023
1 parent d1e3bc2 commit 5641763
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lyrebird_bugit/event_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@ def on_upload_files(msg):
def on_notice(msg):
sender_file = msg.get('sender', {}).get('file', '')
autoissue_checker = application.config.get('event.notice.autoissue.checker', [])
if sender_file in autoissue_checker:
autoissue_mptools = application.config.get('event.notice.autoissue.mptools.senderfile', [])
if sender_file in autoissue_checker or sender_file in autoissue_mptools:
template_loader.notice_handler(msg)

0 comments on commit 5641763

Please sign in to comment.