Commit 36c20533 by Kim Jinsung

プッシュメッセージ受信情報からroomType取得しないように修正

サーバ側でroomType=null送られてエラー発生
parent 79b7ca5b
......@@ -231,7 +231,7 @@ public class ABVFcmListenerService extends FirebaseMessagingService {
textMessage.contains(ABookCommConstants.COLLABORATION.INVITE_COLLABORATION.JP) ||
textMessage.contains(ABookCommConstants.COLLABORATION.INVITE_COLLABORATION.KR)
) {
roomType = Integer.toString(json.getInt(AppDefType.ChatPushMessageKey.roomType));
// roomType = Integer.toString(json.getInt(AppDefType.ChatPushMessageKey.roomType));
collaborationType = collaborationTypeToNum(textMessage);
}
String roomName = json.getString(AppDefType.ChatPushMessageKey.roomName);
......
......@@ -62,8 +62,9 @@ public class PushMessageJSON {
public String getRoomType() {
try {
int roomType = jsonObject.getInt(AppDefType.ChatPushMessageKey.roomType);
return Integer.toString(roomType);
// int roomType = jsonObject.getInt(AppDefType.ChatPushMessageKey.roomType);
// return Integer.toString(roomType);
return "";
} catch (Exception e){
return "";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment