Andrew Bromwich
Andrew Bromwich
Hmm that sounds a bit dangerous (ie you could filter out non-info things you didn't mean to). I would think the more reliable solution would be to overload the config...
It's been a while since I've looked at Java. The pdfbox library uses the Apache Commons Logging library so I think that'd be the place to start: https://commons.apache.org/proper/commons-logging/guide.html#Quick_Start It appears...
Hi @awunder, There may be a couple of things to consider here. The `User` model will only display some specific fields if you just dump it out on the console....
I've left some comments for you. I'd ask that you include a test for your change though Creating a PR is pretty easy. Take a look at the Github documentation:...
And in the mean time, you should be able to get what you need with: ``` @session.users.info(username: @user.username).data['roles'] ```
Not sure I follow what you mean about the APIs not allowing `user#username` and `room#name`. They both support these params. See https://github.com/RocketChat/Rocket.Chat/blob/404cfffe3fcee219579efce47ee0cab114162c69/apps/meteor/app/api/server/v1/channels.ts#L200-L220 and https://github.com/RocketChat/Rocket.Chat/blob/404cfffe3fcee219579efce47ee0cab114162c69/apps/meteor/app/api/server/v1/groups.js#L532-L551 Specifically from the `getUserFromParams` helper method:...
The `kick` APIs are also already supported by the gem. See https://github.com/abrom/rocketchat-ruby/blob/main/lib/rocket_chat/messages/room.rb#L200-L207
Still happy to accept a PR improving the docs and specs, although another spec or two to test the username/room name options would be nice (and removing the channel/group kick...
No problems! Yeah the rocketchat docs are a little misleading on that front. I had to go hunting through the code base to find the real story 😉 Regarding custom...
Hi @xu4wang, Good question, but not something I have knowledge of. Rocket.Chat documentation talks about this but I use a different method so it isn't something I've needed to worry...