You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be cool, one way to do this is abstracting the adapter methods calls, in a lib file for example, where the methods could be switched according to the actual adapter in use.
Although would really need a closest watching about wich method exists and each adapter to maintain it bugless.
Today I think we are using the following rocketchat adapter's methods:
stream-notify-room
getUserRoles
livechat:transfer
livechat:saveInfo
And we're actually using some attributes from the response object, wich is generated in the adapter too, like res.envelope.user.roomType, res.robot.alias and res.robot.name. Probably would be wise to abstract that in some object too.
This project is tightly coupled with RocketChat. It would be interesting to decouple it to make sure that other adapters can use it.
The text was updated successfully, but these errors were encountered: