It is unclear to me why, but without info = await self.caps.get_caps(jid)
, I had Coroutine is not subscriptable
triggered by if info and feature in info['features']:
.
I also make StatiCaps.get_caps()
async but I am not entirely sure if that is correct.
Maybe I misuse this plugin here.