Enha: shorter sse patience; style cleaning
This commit is contained in:
		| @@ -106,8 +106,9 @@ func HandleExit(w http.ResponseWriter, r *http.Request) { | ||||
| 		if err := repo.RoomDeleteByID(r.Context(), fi.Room.ID); err != nil { | ||||
| 			log.Error("failed to remove room", "error", err) | ||||
| 		} | ||||
| 		notify(models.NotifyRoomListUpdate, "") | ||||
| 		notify(models.NotifyRoomListUpdate, "") // why is it needed? | ||||
| 	} else { | ||||
| 		notify(models.NotifyRoomUpdatePrefix, "") | ||||
| 		// if regular player leaves, just exit room | ||||
| 		if err := repo.PlayerExitRoom(r.Context(), fi.State.Username); err != nil { | ||||
| 			log.Error("failed to exit room", "error", err) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder