Enha: wait for mime clue

This commit is contained in:
Grail Finder
2025-05-12 19:41:34 +03:00
parent da8131a0a4
commit f752d2a162
5 changed files with 16 additions and 10 deletions

View File

@ -40,12 +40,6 @@ func HandleCreateRoom(w http.ResponseWriter, r *http.Request) {
return
}
notify(models.NotifyRoomListUpdate, "")
// send msg of created room
// h.Broker.Notifier <- broker.NotificationEvent{
// EventName: models.MsgRoomListUpdate,
// Payload: fmt.Sprintf("%s created a room named %s", r.CreatorName, r.RoomName),
// }
// return html
tmpl, err := template.ParseGlob("components/*.html")
if err != nil {
abortWithError(w, err.Error())