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__ Limit width of user menu in space panel (#11192) 2023-07-05 22:00:03 +00:00
auth Conform more of the codebase to strict types (#11191) 2023-07-05 11:53:22 +01:00
AutocompleteInput-test.tsx Conform more of the codebase to strictNullChecks (#10602) 2023-04-17 08:31:58 +01:00
ContextMenu-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
LargeLoader-test.tsx Start DM on first message (#8612) 2022-08-04 08:19:52 +02:00
LeftPanel-test.tsx Show filterContainer if "UIComponent.filterContainer" is enabled (#10381) 2023-03-21 09:06:43 +00:00
LegacyCallEventGrouper-test.ts Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
LoggedInView-test.tsx Conform more of the codebase to strictNullChecks (#10731) 2023-04-28 09:45:36 +01:00
MainSplit-test.tsx Allow maintaining a different right panel width for thread panels (#11064) 2023-06-15 11:57:58 +00:00
MatrixChat-test.tsx OIDC: Persist details in session storage, create store (#11302) 2023-07-20 21:30:19 +00:00
MessagePanel-test.tsx Replace sinon fake timers with jest timers (#11275) 2023-07-17 12:29:51 +00:00
PictureInPictureDragger-test.tsx Add PiP move threshold (#10040) 2023-02-01 13:55:10 +01:00
PipContainer-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
RightPanel-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
RoomSearchView-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
RoomStatusBar-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
RoomStatusBarUnsentMessages-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
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 Conform more code to strictNullChecks and noImplicitAny (#11156) 2023-06-28 14:05:36 +01:00
TabbedView-test.tsx Use generics to better type TabbedView (#10726) 2023-04-27 12:55:29 +01:00
ThreadPanel-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
ThreadView-test.tsx Fix corrupt thread timeline for sending events (#11260) 2023-07-14 10:59:55 +00:00
TimelinePanel-test.tsx Fix TimelinePanel-test over-driving Thread model into compliance (#11198) 2023-07-07 09:48:06 +01:00
UserMenu-test.tsx Replace broadcast instance with SDKContext (#9824) 2022-12-27 08:39:26 +01:00
ViewSource-test.tsx Fix error when viewing source of redacted events (#9914) 2023-01-15 16:22:59 +00:00