Extend auto-entitlement to synthetics

This commit is contained in:
Eric Harding committed 2018-10-04 14:12:37 -04:00
1 parent c795feff74
commit a5f02c09d8
1 file changed
+4 -1
+4 -1
View File
@@ -329,7 +329,10 @@ public:
auto groupiter = _groups.find(UserSymbol(ch.symbol(), ch.exchange(), ch.type()));
if (groupiter != _groups.end()) {
auto& group = groupiter->second;
bool is_entitled = bypass_entitlement || (ch.exchange() == api::VENUE_SIM) || (entitlements && entitlements->count(ch.symbol()));
bool is_entitled = bypass_entitlement ||
ch.exchange() == api::VENUE_SIM ||
ch.exchange() == api::VENUE_BTS ||
(entitlements && entitlements->count(ch.symbol()));
fill(ch, *group, reply->add_channels(), is_entitled);
}
}