Page MenuHomePhabricator

[keyserver] Prevent creation of sidebars from pinned message robotext
ClosedPublic

Authored by ashoat on Sep 19 2023, 1:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 9:04 PM
Unknown Object (File)
Sun, Nov 3, 4:30 AM
Unknown Object (File)
Thu, Oct 31, 1:26 PM
Unknown Object (File)
Thu, Oct 31, 1:25 PM
Unknown Object (File)
Oct 29 2024, 1:21 AM
Unknown Object (File)
Oct 17 2024, 8:59 PM
Unknown Object (File)
Oct 1 2024, 6:00 PM
Unknown Object (File)
Oct 1 2024, 6:00 PM
Subscribers

Details

Summary

These sidebars are causing our keyserver to completely crash and the app to break (ENG-4849). This diff prevents the creation of such sidebars on the keyserver. Preventing the sidebar creation button from appearing in the UI on native and web will be handled separately.

Depends on D9231

Test Plan

Try creating a sidebar from a pinned message in my local environment and confirm that it now errors out

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat published this revision for review.Sep 19 2023, 1:32 PM
This revision is now accepted and ready to land.Sep 19 2023, 1:40 PM

Also prevent sidebar creation from a CHANGE_ROLE robotext. Context is in ENG-4981... this change won't solve the issue (since the client app crashes in the pending sidebar, before the sidebar creation can even go through) but it's probably a good idea

This revision was landed with ongoing or failed builds.Sep 19 2023, 1:42 PM
This revision was automatically updated to reflect the committed changes.