forked from snxraven/LinkUp-P2P-Chat
Oops i made async constructor
This commit is contained in:
parent
6cbfe34966
commit
2d0f97bc8f
@ -1,7 +1,7 @@
|
|||||||
import Message from "./Message.js";
|
import Message from "./Message.js";
|
||||||
|
|
||||||
class IconMessage extends Message {
|
class IconMessage extends Message {
|
||||||
async constructor(peerName, avatarBuffer, topic, timestamp) {
|
constructor(peerName, avatarBuffer, topic, timestamp) {
|
||||||
super("icon", peerName, avatarBuffer, topic, timestamp);
|
super("icon", peerName, avatarBuffer, topic, timestamp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user