ruby-matrix-sdk icon indicating copy to clipboard operation
ruby-matrix-sdk copied to clipboard

Ruby SDK for the Matrix communication protocol

Results 9 ruby-matrix-sdk issues
Sort by recently updated
recently updated
newest added

Hi! Thanks for this project, it's very useful. Do you have any interest in using [this Ruby olm library](https://github.com/cjhdev/ruby_olm) in order to implement e2e encryption? As it currently stands, I'm...

enhancement

The current DSL is slightly limited, only supporting single-word commands, and with very limited support for optionals and the like. It might be interesting to build something based on [Thor](http://whatisthor.com/)'s...

enhancement

`Client#sync` takes a timeout parameter which is the amount of time to wait in case no new events are happening. `Net:HTTP#read_timeout` is the amount of time until `Net::ReadTimeout` is raised...

When sending a message with `simple_client.rb` sometimes it works fine, but other times I get these errors and the program exits after sending the message: ``` # terminated with exception...

> One other issue I often run into is when logging in. It happens, but upon retrying all works well. > ``` > biep@Puk-1:~$ irb > irb(main):001> require 'matrix_sdk' >...

In `room.rb`, the code for `moderator?` and `moderator!` has obviously been copied from the corresponding `admin` methods. However, the search-and-replace has not been fully performed, and the comment lines still...

``` irb(main):038> tchncs.join_room room /var/lib/gems/3.3.0/gems/matrix_sdk-2.8.0/lib/matrix_sdk/room.rb:116:in `to_s': undefined method `canonical_alias_has_value?' for an instance of MatrixSdk::Room (NoMethodError) prefix = canonical_alias if canonical_alias_has_value? ^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean? canonical_alias from /var/lib/gems/3.3.0/gems/matrix_sdk-2.8.0/lib/matrix_sdk/protocols/cs.rb:496:in `join_room' from /var/lib/gems/3.3.0/gems/matrix_sdk-2.8.0/lib/matrix_sdk/client.rb:397:in...

bug

Let me turn this into a separate issue. > A new error: > ``` > irb(main):013> account=MatrixSdk::Client.new server > => # > irb(main):014> account.login name, password > /var/lib/gems/3.3.0/gems/matrix_sdk-2.8.0/lib/matrix_sdk/api.rb:370:in `construct_request': undefined...

bug

``` irb(main):014> client = MatrixSdk::Client.new 'https://matrix.org' => # irb(main):015> client.login 'someone', 'HighlySecret' /var/lib/gems/3.3.0/gems/matrix_sdk-2.8.0/lib/matrix_sdk/room.rb:985:in `sort': comparison of String with nil failed (ArgumentError) from /var/lib/gems/3.3.0/gems/matrix_sdk-2.8.0/lib/matrix_sdk/room.rb:985:in `handle_room_canonical_alias' from /var/lib/gems/3.3.0/gems/matrix_sdk-2.8.0/lib/matrix_sdk/room.rb:1032:in `put_state_event' from /var/lib/gems/3.3.0/gems/matrix_sdk-2.8.0/lib/matrix_sdk/client.rb:618:in `handle_state'...

bug