Retain channel context for user cards opened from search window (#2088)

This commit is contained in:
yodax
2020-10-25 06:10:28 -04:00
committed by GitHub
parent 3ee08b9ffd
commit 466d85c907
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -38,6 +38,7 @@
- Bugfix: Fixed tooltip didn't show in `EmotePopup` depending on the `Link preview` setting enabled or no (#2008)
- Bugfix: Fixed Stream thumbnail not updating after using the "Change channel" feature (#2074, #2080)
- Bugfix: Fix Tab key not working in the Ctrl+K Quick Switcher (#2065)
- Bugfix: Fix bug preventing moderator actions when viewing a user card from the search window (#1089)
## 2.2.0
+1
View File
@@ -70,6 +70,7 @@ void SearchPopup::setChannelFilters(FilterSetPtr filters)
void SearchPopup::setChannel(const ChannelPtr &channel)
{
this->channelView_->setSourceChannel(channel);
this->channelName_ = channel->getName();
this->snapshot_ = channel->getMessageSnapshot();
this->search();