Skip to content

Commit

Permalink
feat: add optional domainId parameter
Browse files Browse the repository at this point in the history
this parameter is to return DomainUser objects with correct fields.
  • Loading branch information
krdlab committed Nov 4, 2021
1 parent 767190e commit 6e526ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/direct.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class Direct extends Adapter
leave: (envelope, user) ->
@bot.leave envelope, user

users: ->
@bot.userObjects()
users: (domainId) ->
@bot.userObjects(domainId)

talks: ->
@bot.talkObjects()
Expand Down

0 comments on commit 6e526ee

Please sign in to comment.