Search in sources :

Example 1 with ResultMute

use of com.fanap.podchat.model.ResultMute in project pod-chat-android-sdk by FanapSoft.

the class ChatCore method reformatMuteThread.

private String reformatMuteThread(ChatMessage chatMessage, ChatResponse<ResultMute> outPut) {
    ResultMute resultMute = new ResultMute();
    resultMute.setThreadId(Long.valueOf(chatMessage.getContent()));
    outPut.setResult(resultMute);
    outPut.setHasError(false);
    outPut.setErrorMessage("");
    outPut.setUniqueId(chatMessage.getUniqueId());
    gson.toJson(outPut);
    return gson.toJson(outPut);
}
Also used : ResultMute(com.fanap.podchat.model.ResultMute)

Aggregations

ResultMute (com.fanap.podchat.model.ResultMute)1