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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

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

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();