Commit c1cbc3ca by Kim Eunchul

協業招待プッシュメッセージ方法変更

parent ff749821
......@@ -239,7 +239,7 @@ public class ABVFcmListenerService extends FirebaseMessagingService {
textMessage.contains(ABookCommConstants.COLLABORATION.INVITE_COLLABORATION.KR)
) {
roomType = Integer.toString(json.getInt(AppDefType.ChatPushMessageKey.roomType));
collaborationType = CollaborationTypeToNum(textMessage);
collaborationType = collaborationTypeToNum(textMessage);
}
String roomName = json.getString(AppDefType.ChatPushMessageKey.roomName);
String pushMsg = json.getString(AppDefType.PushMessageKey.message);
......@@ -265,7 +265,7 @@ public class ABVFcmListenerService extends FirebaseMessagingService {
return intent;
}
public String CollaborationTypeToNum(String message) {
public String collaborationTypeToNum(String message) {
if (message.contains(ABookCommConstants.COLLABORATION.COLLABORATION_AUDIO.ENG) ||
message.contains(ABookCommConstants.COLLABORATION.COLLABORATION_AUDIO.JP) ||
message.contains(ABookCommConstants.COLLABORATION.COLLABORATION_AUDIO.KR)
......
......@@ -103,7 +103,7 @@ public class PushMessageJSON {
message.contains(ABookCommConstants.COLLABORATION.INVITE_COLLABORATION.JP) ||
message.contains(ABookCommConstants.COLLABORATION.INVITE_COLLABORATION.KR)) {
return CollaborationTypeToNum(message);
return collaborationTypeToNum(message);
}
return jsonObject.getString(AppDefType.ChatPushMessageKey.collaborationType);
} catch (Exception e) {
......@@ -111,7 +111,7 @@ public class PushMessageJSON {
}
}
public String CollaborationTypeToNum(String message) {
public String collaborationTypeToNum(String message) {
if (message.contains(ABookCommConstants.COLLABORATION.COLLABORATION_AUDIO.ENG) ||
message.contains(ABookCommConstants.COLLABORATION.COLLABORATION_AUDIO.JP) ||
message.contains(ABookCommConstants.COLLABORATION.COLLABORATION_AUDIO.KR)
......
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