Reworked message format, added support for audio messages, made Message class #10

Merged
snxraven merged 20 commits from MiTask/LinkUp-P2P-Chat:main into main 2024-06-14 14:15:43 -04:00
Showing only changes of commit 2d0f97bc8f - Show all commits

View File

@ -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);
} }