RocketChat / Rocket.Chat.Java.SDK

[DEPRECATED, NOT MAINTAINED] Java/Android SDK for Rocket.Chat
MIT License
29 stars 24 forks source link

News user Not possible Subscriptions or join room. #56

Open Naguchennai opened 7 years ago

Naguchennai commented 7 years ago

News user registerd via restapi Not possible Subscriptions or join room. not get getChatHistory. But it work Default main room but not work other Channel creted by admin.. If that user join using browser after only work in android

@Override public void onLogin(TokenObject token, ErrorObject error) { client.getSubscriptions(this); }

@Override
public void onGetSubscriptions(List<SubscriptionObject> subscriptions, ErrorObject error) {
    ChatRoomFactory factory = client.getChatRoomFactory();   //client.is used for creating rooms from subscriptions/ rooms retured by either getSubscriptions or getRooms API
    room = factory.createChatRooms(subscriptions).getChatRoomByName("TestRoom");
}
Naguchennai commented 6 years ago

So.. no Signup and if signup via restapi not possible subscrip room ..... then how can we use it?? then why this SDK? Any one using this sdk?