Extend auto-entitlement to synthetics
This commit is contained in:
1 parent
c795feff74
commit
a5f02c09d8
1 file changed
+4
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user