Conversation doesn't appear if I don't refresh the home page
Problem: Conversation doesn't appear if I don't refresh the home page.
Cause ? The current conversations discard filter is happened on the local not remote.
Solution: Use the remote discard filter - via api - for the conversations pages.
Implementation:
-
backendGET /memories, add support ?discard=true/false ~ including discarded conversations or not, default true 2.backendGET memories/search, add support ?discard=true/false ~ including discarded conversations or not, default true -
appadd the paramdiscardwhenever requesting to 1,2
solution: use the remote filter, via api, instead of local filter for the discard filter.
hey bro, fixed in +209. pls try it and lmk.
moved the discarded convos filtering logic to backend. no more akward behavior on the app.
@kodjima33
need to revert, looks ugly (because too high vertically)
#1718 reverted
I JUST HAD TO REFRESH AGAIN TO SEE CONVERSATION. IT WASN"T ADDED AUTOMATICALLY. SHOULD BE SEEN AUTOMATICALLY
the socket connection drop is the reason why the new conversation is not appear automatically sometime.
solution ?
more solid(and, optimal) way to pull the conversation / or, tightly wire the back-end.
on it.