Commit 088e7632 by 杨铁龙

action lastsg

parent d07cf879
Showing with 4 additions and 0 deletions
...@@ -7,6 +7,10 @@ export function parserMessage(type: string, rawMsg: string) { ...@@ -7,6 +7,10 @@ export function parserMessage(type: string, rawMsg: string) {
const msg = JSON.parse(rawMsg); const msg = JSON.parse(rawMsg);
return msg.text; return msg.text;
} }
if (type === MessageType.Action) {
const msg = JSON.parse(rawMsg);
return msg.text;
}
if (type === MessageType.Image) { if (type === MessageType.Image) {
return `[图片]`; return `[图片]`;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment