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
Thread::addParticipant does not check to see if a matching soft-deleted participants record already exists and will create a duplicate record. Thread::activateAllParticipants can then restore the deleted record.
When multiple active participants records exist for a single user-thread pair the example project displays unexpected behavior, such as showing threads multiple times.
This could be fixed by updating Thread::addParticipant to check for existing soft-deleted records.
Thread::addParticipant
does not check to see if a matching soft-deletedparticipants
record already exists and will create a duplicate record.Thread::activateAllParticipants
can then restore the deleted record.When multiple active
participants
records exist for a single user-thread pair the example project displays unexpected behavior, such as showing threads multiple times.This could be fixed by updating
Thread::addParticipant
to check for existing soft-deleted records.Example code:
The text was updated successfully, but these errors were encountered: