Bug 1546840 - Allow GloDa queries for read or unread messages

Tag #1273
This commit is contained in:
Matt A. Tobin 2019-11-11 00:22:33 -05:00 committed by Roy Tam
commit 87073feb8a

View file

@ -99,6 +99,8 @@ var GlodaExplicitAttr = {
extensionName: Gloda.BUILT_IN,
attributeType: Gloda.kAttrExplicit,
attributeName: "read",
// Make the message query-able but without using the database.
canQuery: "truthy-but-not-true",
singular: true,
subjectNouns: [Gloda.NOUN_MESSAGE],
objectNoun: Gloda.NOUN_BOOLEAN,