Skip to content

Commit

Permalink
fix message event
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Nov 5, 2023
1 parent c741edf commit cef06a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/chain/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ def post_message(self, message: Notification) -> None:
self.eventmanager.send_event(etype=EventType.NoticeMessage,
data={
"channel": message.channel,
"type": message.mtype,
"title": message.title,
"text": message.text,
"image": message.image,
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ parse~=1.19.0
docker~=6.1.3
cachetools~=5.3.1
fast-bencode~=1.1.3
pystray~=0.19.5
pystray~=0.19.5
pypushdeer~=0.0.3

0 comments on commit cef06a8

Please sign in to comment.