Not able to notify the web-client when a new Private chat is created from Android client using QuickBlox SDK. Went through the documentation but couldn't find the solution.
Here is my code for creating a Private chat.
QBPrivateChatManager qbPrivateChatManager = QBChatService.getInstance().getPrivateChatManager();
final String finalAgent = agent;
qbPrivateChatManager.createDialog(Integer.parseInt(agent), new QBEntityCallback<QBDialog>() {
@Override
public void onSuccess(QBDialog qbDialog, Bundle bundle) {
Log.e(TAG, "success ");
}
@Override
public void onError(QBResponseException e) {
Log.e(TAG, "Failed");
}
});
I am able to create the Private chat but the recipient wont know about it until he/she refreshes the window.