Skip to content

Commit

Permalink
Skip NavRoute events with journal as source
Browse files Browse the repository at this point in the history
  • Loading branch information
Somfic committed Jun 24, 2024
1 parent 8c54aaf commit fcfa621
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src-plugin/EliteVA/Services/Bridge/JournalEventsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@ private void HandleIncomingJournalEvent(string json, EventContext context)
// If this is a status event, remove the status suffix from the paths
if (eventName == "Status")
return;


if (eventName == "NavRoute" && context.SourceFile.Contains("Journal"))
{
_log.LogWarning("Ignoring NavRoute event from Journal");
return;
}

_log.LogDebug("Processing {Event}", eventName);

if (context.SourceFile.EndsWith("Status.json") && eventName.Contains("Status"))
Expand Down

0 comments on commit fcfa621

Please sign in to comment.