Fixed PM actions not doing anything.

This commit is contained in:
flash 2024-12-23 01:48:32 +00:00
parent 7f7b198007
commit 5443ea331e
3 changed files with 9 additions and 17 deletions
assets/misuzu.js/messages

View file

@ -10,7 +10,7 @@
const MszMessages = () => {
const extractMsgIds = msg => {
if(typeof msg.getId === 'function')
return msg.id;
return msg.getId();
if(typeof msg.toString === 'function')
return msg.toString();
throw 'unsupported message type';