Forgot half of it.
This commit is contained in:
parent
d103477fe1
commit
163e54def1
55 changed files with 183 additions and 187 deletions
assets/misuzu.js/messages
|
@ -10,7 +10,7 @@
|
|||
const MszMessages = () => {
|
||||
const extractMsgIds = msg => {
|
||||
if(typeof msg.getId === 'function')
|
||||
return msg.getId();
|
||||
return msg.id;
|
||||
if(typeof msg.toString === 'function')
|
||||
return msg.toString();
|
||||
throw 'unsupported message type';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue