Skip to content

Commit

Permalink
added stop points to the displayed GPS types
Browse files Browse the repository at this point in the history
  • Loading branch information
gagichce committed Jun 8, 2015
1 parent 8822976 commit d5eb1e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public async Task<IHttpActionResult> UpdateGpsFromSpotFeed(int HitchBotId)
var previousIds = await spotCurrentIdsTask;

var messages = spotty.response.feedMessageResponse.messages.message
.Where(l => l.messageType == "EXTREME-TRACK" || l.messageType == "NEWMOVEMENT")
.Where(l => l.messageType == "EXTREME-TRACK" || l.messageType == "NEWMOVEMENT" || l.messageType== "STOP")
.Where(l => previousIds.All(h => h.SpotID != l.id))
.Select(l => new LocationController.SpotDto
{
Expand Down

0 comments on commit d5eb1e0

Please sign in to comment.