parent
f3b7919a53
commit
b2ccf766ba
5 changed files with 11 additions and 3 deletions
|
|
@ -579,6 +579,9 @@ CommunitiesModel::sync(const mtx::responses::Sync &sync_)
|
|||
void
|
||||
CommunitiesModel::setCurrentTagId(const QString &tagId)
|
||||
{
|
||||
if (currentTagId_ == tagId)
|
||||
return;
|
||||
|
||||
if (tagId.startsWith(QLatin1String("tag:"))) {
|
||||
auto tag = tagId.mid(4);
|
||||
for (const auto &t : qAsConst(tags_)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue