chore: Hide pinned events in thread
This commit is contained in:
parent
1884149be1
commit
4020317873
2 changed files with 6 additions and 4 deletions
|
|
@ -59,7 +59,7 @@ class PinnedEvents extends StatelessWidget {
|
|||
|
||||
final pinnedEventIds = controller.room.pinnedEventIds;
|
||||
|
||||
if (pinnedEventIds.isEmpty) {
|
||||
if (pinnedEventIds.isEmpty || controller.activeThreadId != null) {
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue