Explorar o código

Fix []byte dingen door activemq bug

Harry de Boer %!s(int64=10) %!d(string=hai) anos
pai
achega
fdaf578bbb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      games/gameserver.go

+ 1 - 1
games/gameserver.go

@@ -66,7 +66,7 @@ func (games GameServer) AddGame(x, y int, stompConnection *extStomp.Conn) *Game
 		GameId: game.Id,
 	}
 	b, _ := json.Marshal(stompGameStart)
-	stompConnection.Send("/topic/go-battlecamp.game", "application/json", b)
+	stompConnection.Send("/topic/go-battlecamp.game", "application/json;charset=utf-8", b, extStomp.SendOpt.NoContentLength)
 	return game
 }