Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat backend migration #347

Merged
merged 20 commits into from
Mar 27, 2024
Prev Previous commit
Next Next commit
fix:chat automatic erasing on refresh issue
  • Loading branch information
jaswinder.khartri@fetch.ai committed Feb 14, 2024
commit 7d3067a70a5b4b8c000642769645ec97da3c94c3
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,7 @@ export const ChatsViewSection = observer(
pagination: updatedPagination,
} = await recieveMessages(
targetAddress,
receiver?.lastSeenTimestamp &&
Number(group.lastMessageTimestamp) >
Number(receiver.lastSeenTimestamp) &&
page === 0
? receiver?.lastSeenTimestamp
: null,
null,
page,
group.isDm,
group.id,
Expand Down