Fixed PM actions not doing anything.
This commit is contained in:
parent
7f7b198007
commit
5443ea331e
3 changed files with 9 additions and 17 deletions
assets/misuzu.js/messages
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue