Skip to content

Add support for thread messages #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 20, 2023
Merged

Conversation

MrRTi
Copy link
Contributor

@MrRTi MrRTi commented Apr 19, 2023

tmid could be used to send message to specific thread

session.chat.post_message(room_id: 'channel_id', tmid: 'message_id', text: 'text')

Copy link
Owner

@abrom abrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one @MrRTi looks good 👍

@@ -104,14 +104,14 @@
end

describe '#list_all' do
let(:room1) do
let(:room_one) do
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

although I get why the lint exists, in the this case it's not really an issue. I've already "fixed" this by just allowing up to 2 indexed let variables. But this is fine too

@@ -3,5 +3,7 @@
require 'spec_helper'

describe RocketChat::Room do
pending 'Add some specs for RocketChat::Room'
it 'RocketChat::Room spec', pending: 'Add some specs for RocketChat::Room' do
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why you've changed this? If it's for linter reasons, the previous form was just fine?!

Copy link
Contributor Author

@MrRTi MrRTi Apr 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, RSpec/PendingWithoutReason was raised. Rubocop in actions is not using rubocop.yml from project root, and pipeline was failing because of these two issues I've updated in this PR. All was good when I run rubocop locally

@abrom abrom merged commit 7201c8e into abrom:main Apr 20, 2023
@abrom
Copy link
Owner

abrom commented Apr 21, 2023

Released in v0.2.2

@MrRTi MrRTi deleted the feature/add-thread-messages branch July 7, 2023 06:50
@MrRTi MrRTi restored the feature/add-thread-messages branch July 7, 2023 06:50
@MrRTi MrRTi deleted the feature/add-thread-messages branch July 7, 2023 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants