Reworked message format, added support for audio messages, made Message class #10
@ -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