Method: MatrixSdk::Client#rooms
- Defined in:
- lib/matrix_sdk/client.rb
#rooms ⇒ Object
115 116 117 118 119 120 121 122 123 |
# File 'lib/matrix_sdk/client.rb', line 115 def rooms if @rooms.empty? && cache != :none api.get_joined_rooms.joined_rooms.each do |id| ensure_room(id) end end @rooms.values end |