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