Skip to content

Commit

Permalink
Special-case entity org.freedesktop:app_id
Browse files Browse the repository at this point in the history
It's a weird legacy case used by the gnome builtin skill
  • Loading branch information
gcampax committed Dec 17, 2021
1 parent 2f99a02 commit cf74e8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/templates/load-thingpedia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,8 @@ export default class ThingpediaLoader {
}

for (const entity of entityTypes) {
entity.has_ner_support = !!(entity.type.startsWith('tt:') && entity.has_ner_support);
entity.has_ner_support = !!((entity.type.startsWith('tt:') || entity.type === 'org.freedesktop:app_id')
&& entity.has_ner_support);
this._loadEntityType(entity.type, entity);
}
for (const device of devices)
Expand Down

0 comments on commit cf74e8a

Please sign in to comment.