make jid2channels a per-room datastructure