NewPeer event shouldn't send full profile info, instead should be fetch via GetProfile #403

Open
opened 8 months ago by dan · 0 comments
dan commented 8 months ago
Owner
  • NewPeer should return minimal info and trigger in UI a requeat to load the data from MainActivity

because Workers can only send 10kb of json and big profiles will hit this

NewPeer is generated as an event when a profile is loaded so still goes through the worker on android

the rest of the android API calls now skip the worker, so are not subject to hte message size requirement. Thus we should keep NewPeer event smaller, and have it trigger API calls that aren't subject to the message size limit to load the profile

- NewPeer should return minimal info and trigger in UI a requeat to load the data from MainActivity because Workers can only send 10kb of json and big profiles will hit this NewPeer is generated as an event when a profile is loaded so still goes through the worker on android the rest of the android API calls now skip the worker, so are not subject to hte message size requirement. Thus we should keep NewPeer event smaller, and have it trigger API calls that aren't subject to the message size limit to load the profile
dan added the
bug
android
labels 8 months ago
dan self-assigned this 8 months ago
dan added this to the Cwtch Beta (In Progress) project 8 months ago
dan added the
cwtch-beta-1.8
label 8 months ago
dan changed title from Android profile loading to NewPeer event shouldn't send full profile info, instead should be fetch via GetProfile 8 months ago
sarah removed the
cwtch-beta-1.8
label 5 days ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch-ui#403
Loading…
There is no content yet.