Commit 153f4070 by Sixong.Zhu

u

parent 6c77b02d
Showing with 3 additions and 0 deletions
......@@ -22,6 +22,9 @@ export function parserMessage(type: MessageType, rawMsg: string) {
const msg = JSON.parse(rawMsg);
return msg.text;
}
if (type === MessageType.Notify) {
return rawMsg;
}
const t = mapping.get(type)
if (t) {
return t;
......
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