Method: MatrixSdk::User#device_keys
- Defined in:
- lib/matrix_sdk/user.rb
#device_keys ⇒ Object
Returns all the current device keys for the user, retrieving them if necessary
134 135 136 137 138 |
# File 'lib/matrix_sdk/user.rb', line 134 def device_keys @device_keys ||= client.api.keys_query(device_keys: { id => [] }).yield_self do |resp| resp[:device_keys][id.to_sym] end end |