FuelRats / RatTracker

The Fuel Rats RatTracker - Getting more fuel on target faster since 3302
http://www.fuelrats.com/
BSD 3-Clause "New" or "Revised" License
10 stars 12 forks source link

Friend list parsing #23

Closed kenneaal closed 6 years ago

kenneaal commented 8 years ago

Friends list parsing is what enables us to detect FR requests from our clients. When a FR is sent, it shows up in state "pending" in the FriendRequest XML in Netlog. Commander names are encoded as UTF8 hex in the tag. We match this to our client's name.

Accepting the friend request produces a new friendrequest update with a status code that we can detect and then trigger a FR+ notification.

Current status is mostly implemented; needs additional sanity checks and ensuring that it matches to the active client.

andybish commented 6 years ago

testing webhook (derp, dropped an s), but also friend events are in the journals now, including incoming friend requests and accepts

Adanaran commented 6 years ago

This has been resolved in the rewrite by using the new journal events.