Skip to content
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

Reexport some common methods onto client #70

Open
Manishearth opened this issue May 20, 2014 · 4 comments
Open

Reexport some common methods onto client #70

Manishearth opened this issue May 20, 2014 · 4 comments
Labels

Comments

@Manishearth
Copy link
Owner

Perhaps some common room methods like send_message and watch should be reexported on Client with an extra room id parameter for convenience?

@thomas-daniels
Copy link
Collaborator

By "reexport", do you mean "move" or "put also a send_message in Client which will use get_room to get a room to call send_message there"?

@Manishearth
Copy link
Owner Author

Reexport just means that Client gets the same method that proxies to the room

@ByteCommander
Copy link
Contributor

So in we finally will be able to do everything by only accessing the client module and not having to call other modules' methods? If I understood that correctly, I'm in favor of it.

@Manishearth
Copy link
Owner Author

Pretty much, yeah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants