!include once #1026287 // Multi-Comm Concepts
abstract sclass DynMultiComm > DynModule {
transient ConceptTable<Customer> ct;
transient bool considerAllActive;
dbIndexing(Customer, 'cookie, Customer, 'active, Message,
'customer);
ct = new ConceptTable(Customer);
if (!considerAllActive) ct.filter = c -> c.active();
IF1<Customer, Map> renderer = defaultConceptRendererForTable
(Customer);
Map map = renderer.get(c);
transformValueInPlace str(map, "botConversationID");
map.put("Last activity", iround(toSeconds(elapsedMS_timestamp
(c.lastPing))));
Message msg = c.lastMessage();
map.put("Last message", msg == null ? "" : msg.text);