Closed atavism closed 7 months ago
In the old Pro client, whenever we fetch user data, it is stored afterwards in a local cache. Whenever that cache changes, the updates are sent over the websocket channel: https://github.com/getlantern/flashlight/blob/main/pro/user_data.go#L154
It looks this was left out of the new Pro client, and we were no longer receiving user data updates in real-time: https://github.com/getlantern/lantern-client/blob/7163452b617d7a7384d2f050bfbf80cde38db3fb/lib/common/session_model.dart#L94
@atavism Do you mind taking a look at the new changes?
@jigar-f Your changes LGTM! Just have that one comment.
@atavism added all the changes.
LGTM!
In the old Pro client, whenever we fetch user data, it is stored afterwards in a local cache. Whenever that cache changes, the updates are sent over the websocket channel: https://github.com/getlantern/flashlight/blob/main/pro/user_data.go#L154
It looks this was left out of the new Pro client, and we were no longer receiving user data updates in real-time: https://github.com/getlantern/lantern-client/blob/7163452b617d7a7384d2f050bfbf80cde38db3fb/lib/common/session_model.dart#L94