Here is code. But console.log nothingfunction selectTopic = (topic) => {
const t = tinode.getTopic(topic.name)
if (!t.isSubscribed()) {
let getQuery = t.startMetaQuery().withLaterDesc().withLaterSub().withLaterData(25)
t.subscribe(getQuery.build())
.then(() => handleMessages(topic.name))