You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I send friend request from user1 to user2 and query sent_requests I get
friendship request object with rejected field set to None.
After user2 rejects the request and user1 queries sent_requests again (shortly, within cache persistence time) the result is friendship request with rejected field set to None (which it got from sent_requests cache) even though in DB this request has rejected field set to rejection date.
Is it possible to update sent_requests cache to keep track of rejection state
or to add another query option like sent_unrejected_requests?
The text was updated successfully, but these errors were encountered:
When I send friend request from user1 to user2 and query
sent_requests
I getfriendship request object with
rejected
field set toNone
.After user2 rejects the request and user1 queries
sent_requests
again (shortly, within cache persistence time) the result is friendship request withrejected
field set toNone
(which it got fromsent_requests
cache) even though in DB this request hasrejected
field set to rejection date.Is it possible to update
sent_requests
cache to keep track of rejection stateor to add another query option like
sent_unrejected_requests
?The text was updated successfully, but these errors were encountered: