class UserStateUpdater
Methods
Details
at
line 17
subscribe(Dispatcher $events)
at
line 27
whenPostWasDeleted(Deleted $event)
<p>Updates a user state relative to a discussion.</p>
<p>If user A read a discussion all the way to post number N, and X last posts were deleted, then we need to update user A's read status to the new N-X post number so that they get notified by new posts.</p>