Collaboration: Room chat

# feat
- chatting antar user
- lihat info grup
## No issue
This commit is contained in:
2024-04-29 10:30:59 +08:00
parent 2929459e95
commit 2a4d2951af
25 changed files with 366 additions and 162 deletions

View File

@@ -1,10 +1,10 @@
import mqtt from "mqtt";
// declare global {
// var mqtt_client: mqtt.MqttClient;
// }
declare global {
var mqtt_client: mqtt.MqttClient;
}
// const mqtt_client =
// globalThis.mqtt_client || mqtt.connect("wss://io.wibudev.com");
const mqtt_client =
globalThis.mqtt_client || mqtt.connect("wss://io.wibudev.com");
// export default mqtt_client;
export default mqtt_client;