[MM-35666] Re-ordered the priority of badge sources to leave session expired to last (#1955)
* Fixing some annoying things/stuff I broke * [MM-35666] Re-ordered the priority of badge sources to leave session expired to last * Fix tests
This commit is contained in:
@@ -335,10 +335,6 @@ export class MattermostView extends EventEmitter {
|
||||
}
|
||||
|
||||
updateMentionsFromTitle = (title: string) => {
|
||||
if (this.serverInfo.remoteInfo.serverVersion && Util.isVersionGreaterThanOrEqualTo(this.serverInfo.remoteInfo.serverVersion, '5.29.0')) {
|
||||
return;
|
||||
}
|
||||
|
||||
//const title = this.view.webContents.getTitle();
|
||||
const resultsIterator = title.matchAll(this.titleParser);
|
||||
const results = resultsIterator.next(); // we are only interested in the first set
|
||||
|
Reference in New Issue
Block a user