fixed a few things

This commit is contained in:
Olivier Gagnon
2021-10-14 02:07:05 -04:00
parent 3f1d4875e7
commit e245c2d3a7
11 changed files with 60 additions and 32 deletions
@@ -71,7 +71,7 @@ export function determineAllPossibilitiesForTabCompletion(
function addAllLitFiles(): void {
for (const file of currServ.messages) {
if (!(file instanceof Message)) {
if (!file.endsWith(".msg")) {
allPos.push(file);
}
}
@@ -79,8 +79,8 @@ export function determineAllPossibilitiesForTabCompletion(
function addAllMessages(): void {
for (const file of currServ.messages) {
if (file instanceof Message) {
allPos.push(file.filename);
if (file.endsWith(".msg")) {
allPos.push(file);
}
}
}