element-web/test/components/structures
Slavi Pantaleev 4316ebae29
Do not show "Forget room" button in Room View header for guest users (#10898)
* Do not show "Forget room" button in Room View header for guest users

You can observe this problem by opening this in a new private tab:
https://app.element.io/#/room/#matrix:matrix.org

This is a public room with guest access enabled and Element will use a
guest account to display it.

Showing a "Forget room" button in the header for guest users is
pointless. Clicking on it leads to a `M_GUEST_ACCESS_FORBIDDEN` error.

Signed-off-by: Slavi Pantaleev <slavi@devture.com>

* Iterate

---------

Signed-off-by: Slavi Pantaleev <slavi@devture.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-25 07:57:26 +00:00
..
__snapshots__
auth
AutocompleteInput-test.tsx
ContextMenu-test.ts
LargeLoader-test.tsx
LeftPanel-test.tsx
LegacyCallEventGrouper-test.ts
LoggedInView-test.tsx
MainSplit-test.tsx
MatrixChat-test.tsx
MessagePanel-test.tsx
PictureInPictureDragger-test.tsx
PipContainer-test.tsx
RightPanel-test.tsx
RoomSearchView-test.tsx
RoomStatusBar-test.tsx
RoomStatusBarUnsentMessages-test.tsx
RoomView-test.tsx Do not show "Forget room" button in Room View header for guest users (#10898) 2023-07-25 07:57:26 +00:00
SpaceHierarchy-test.tsx
TabbedView-test.tsx
ThreadPanel-test.tsx
ThreadView-test.tsx
TimelinePanel-test.tsx
UserMenu-test.tsx
ViewSource-test.tsx