HomePhabricator
Diffusion Comm da8dba6fe54d

Check relationship status with message creator before showing tooltip

Description

Check relationship status with message creator before showing tooltip

Summary: We do not want to allow creating sidebars from messages that were send by user that is blocked or/and blocking. CREATE_SIDEBAR permission check handles this for us in 1-1 threads, but this permission is not disabled in group chats

Test Plan: Check if create sidebar is visible in tooltip only when relationship is not type of block. Tested for all three tooltips

Reviewers: ashoat, palys-swm

Reviewed By: ashoat

Subscribers: zrebcu411, Adrian, atul, subnub

Differential Revision: https://phabricator.ashoat.com/D631

Details

Provenance
KatPoAuthored on Jan 19 2021, 5:41 AM
Reviewer
ashoat
Differential Revision
Restricted Differential Revision
Parents
rCOMM7353e8fa1494: Create robotext tooltip with option to create sidebar
Branches
Unknown
Tags
Unknown