Skip to content

Commit cef06a8

Browse files
committed
fix message event
1 parent c741edf commit cef06a8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/chain/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ def post_message(self, message: Notification) -> None:
372372
self.eventmanager.send_event(etype=EventType.NoticeMessage,
373373
data={
374374
"channel": message.channel,
375+
"type": message.mtype,
375376
"title": message.title,
376377
"text": message.text,
377378
"image": message.image,

requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,5 @@ parse~=1.19.0
5454
docker~=6.1.3
5555
cachetools~=5.3.1
5656
fast-bencode~=1.1.3
57-
pystray~=0.19.5
57+
pystray~=0.19.5
58+
pypushdeer~=0.0.3

0 commit comments

Comments
 (0)