版本更新
This commit is contained in:
@@ -102,13 +102,15 @@ public class ChatPopActionFactory {
|
||||
actions.add(getCopyAction(message));
|
||||
}
|
||||
actions.add(getReplyAction(message));
|
||||
if (message.getViewType() != MsgTypeEnum.audio.getValue()) {
|
||||
if (message.getViewType() == MsgTypeEnum.audio.getValue()||message.getViewType() == MsgTypeEnum.custom.getValue()) {
|
||||
}else{
|
||||
actions.add(getTransmitAction(message)); //转发
|
||||
actions.add(getMultiSelectAction(message));
|
||||
|
||||
}
|
||||
// if (message.getViewType() != MsgTypeEnum.location.getValue()) {
|
||||
// actions.add(getPinAction(message));
|
||||
// }
|
||||
actions.add(getMultiSelectAction(message));
|
||||
// actions.add(getCollectionAction(message));
|
||||
// actions.add(getDeleteAction(message));
|
||||
|
||||
@@ -119,13 +121,25 @@ public class ChatPopActionFactory {
|
||||
CustomAttachment attachment =
|
||||
(CustomAttachment) imMessage.getAttachment();
|
||||
LogUtils.i("自定义消息的类型", "自定义消息的类型:" + GsonUtils.beanToJSONString(attachment));
|
||||
|
||||
boolean isShowMoreAction = true;
|
||||
if (attachment != null) {
|
||||
if (attachment.getType() == ChatMessageType.CUSTOM_STICKER_TRANSFER_ACCOUNTS
|
||||
|| attachment.getType() == ChatMessageType.CUSTOM_STICKER_RED_ENVELOPE
|
||||
|| attachment.getType() == ChatMessageType.CUSTOM_STICKER_RED_ENVELOPE_GET) {
|
||||
isShowChehui = false;
|
||||
}
|
||||
|
||||
|
||||
if(attachment.getType() == ChatMessageType.CUSTOM_STICKER_RED_ENVELOPE
|
||||
|| attachment.getType() == ChatMessageType.CUSTOM_STICKER_RED_ENVELOPE_GET){
|
||||
isShowMoreAction = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if(isShowMoreAction){
|
||||
actions.add(getTransmitAction(message)); //转发
|
||||
actions.add(getMultiSelectAction(message));
|
||||
}
|
||||
}
|
||||
if (isShowChehui) {
|
||||
|
||||
@@ -49,12 +49,12 @@ public interface ApiService {
|
||||
/**
|
||||
* 正式环境
|
||||
*/
|
||||
// String URL = "https://api.letschat2023.com/";
|
||||
String URL = "https://api.letschat2023.com/";
|
||||
|
||||
/**
|
||||
* 测试环境
|
||||
*/
|
||||
String URL = "https://api-test.letschat2023.com/";
|
||||
// String URL = "https://api-test.letschat2023.com/";
|
||||
// String URL = "https://8.217.244.135:8001/";
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user