Enha: wait for mime clue
This commit is contained in:
@ -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())
|
||||
|
Reference in New Issue
Block a user