[lib] Add several permissions to threadPermissionsDisabledByBlock
Summary:
The other EDIT_THREAD_* permissions are there. I think it makes sense to include EDIT_THREAD_AVATAR as well.
This means that if user A blocks user B, then neither user will be able to change the thread avatar in chats that contain only those two users.
(EDIT_MESSAGE and REACT_TO_MESSAGE were also added after review.)
Depends on D13061
Test Plan: I made sure this change is safe by looking at where EDIT_THREAD_AVATAR is checked on the client. It happens in two places: once on native, and once on web. In both cases we use useThreadHasPermission, which is able to check the blocked status.
Reviewers: tomek, inka
Reviewed By: tomek
Differential Revision: https://phab.comm.dev/D13067