1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 00:30:33 +03:00

Don't send faction reputation with EDDN Location and FSDJump messages

This commit is contained in:
Jonathan Harris 2018-10-31 19:11:17 +00:00
parent fc44003161
commit 10b36aa60b

View File

@ -668,6 +668,8 @@ class AppWindow:
# strip out properties disallowed by the schema
for thing in ['CockpitBreach', 'BoostUsed', 'FuelLevel', 'FuelUsed', 'JumpDist', 'Latitude', 'Longitude', 'Wanted']:
entry.pop(thing, None)
for faction in entry.get('Factions', []):
faction.pop('MyReputation', None)
# add planet to Docked event for planetary stations if known
if entry['event'] == 'Docked' and monitor.planet: