fix: complete switch in StrToUserTeam and remove AI comments
This commit is contained in:
		| @@ -12,9 +12,14 @@ func StrToUserTeam(s string) WordColor { | |||||||
| 	switch s { | 	switch s { | ||||||
| 	case "blue": | 	case "blue": | ||||||
| 		return UserTeamBlue | 		return UserTeamBlue | ||||||
| 	// finish this switch; ai! | 	case "red": | ||||||
|  | 		return UserTeamRed | ||||||
|  | 	case "none": | ||||||
|  | 		return UserTeamNone | ||||||
|  | 	} | ||||||
|  | 	return WordColorUserTeamNone | ||||||
|  | } | ||||||
|  |  | ||||||
| // every gohtml page should be recreated on reload in the needed state |  | ||||||
| type UserState struct { | type UserState struct { | ||||||
| 	Username string | 	Username string | ||||||
| 	Room     RoomPublic | 	Room     RoomPublic | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Grail Finder (aider)
					Grail Finder (aider)