Group Syncing Progress doesn't work properly on first group (1.7.1) #472

Closed
opened 2022-06-11 17:34:51 +00:00 by sarah · 1 comment
Owner

Date displayed is the time the group is added.
Progress indicator is stuck at 0, despite messages being relayed.

Date displayed is the time the group is added. Progress indicator is stuck at 0, despite messages being relayed.
sarah added this to the Cwtch Beta (In Progress) project 2022-06-11 17:34:51 +00:00
dan self-assigned this 2022-06-13 15:21:02 +00:00
Owner

https://git.openprivacy.ca/cwtch.im/libcwtch-go/src/branch/trunk/features/groups/group_functionality.go#L61

will have to double check but that is a problem case. right now its probably relying on an unset var for first sync, so a time of zero....

or actaully, its prolly being set to time of add, but syncing server history but since all those messages are history, they arent moving hte progress indictaotr

cool
we need a bit of logic in that flow to handle cases where we're doing a full or fist sync and it sees older messages to swap the start time for the first oldest message seen, that should fix it

https://git.openprivacy.ca/cwtch.im/libcwtch-go/src/branch/trunk/features/groups/group_functionality.go#L61 will have to double check but that is a problem case. right now its probably relying on an unset var for first sync, so a time of zero.... or actaully, its prolly being set to time of add, but syncing server history but since all those messages are history, they arent moving hte progress indictaotr cool we need a bit of logic in that flow to handle cases where we're doing a full or fist sync and it sees older messages to swap the start time for the first oldest message seen, that should fix it
sarah closed this issue 2022-06-22 00:11:37 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch-ui#472
No description provided.