فهرست منبع

Fix []byte dingen door activemq bug

Harry de Boer 10 سال پیش
والد
کامیت
fdaf578bbb
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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
 }