hubot-seen icon indicating copy to clipboard operation
hubot-seen copied to clipboard

In RocketChat seen keeps track of DMs and private rooms

Open stevenmcastano opened this issue 5 years ago • 1 comments

Can this be set to only look at public channels, or only respond with channels if the person asking is also in that channel?

stevenmcastano avatar May 21 '19 16:05 stevenmcastano

Hm, it should be doing that already, at least for PMs. See https://github.com/hubot-scripts/hubot-seen/blob/1f94663f2d5c2947d89a3ffc84111968e6757722/src/seen.coffee#L20

Without actually looking my guess is that the RocketChat adapter doesn't support the message.user.pm property, which we need to detect PMs. As for private rooms honestly I have no idea what the story is there. We'd need the adapter to give us some flag that indicated the room was private. It's possible that already exists; I haven't looked. If I get some time I will but no promises! If you find something though I don't see why we couldn't add support for it to hubot-seen.

strugee avatar May 27 '19 05:05 strugee