diff --git a/common/src/main/java/com/yunbao/common/message/content/MessageChatCardContent.java b/common/src/main/java/com/yunbao/common/message/content/MessageChatCardContent.java index 1137d1d3d..0166870c0 100644 --- a/common/src/main/java/com/yunbao/common/message/content/MessageChatCardContent.java +++ b/common/src/main/java/com/yunbao/common/message/content/MessageChatCardContent.java @@ -33,7 +33,6 @@ public class MessageChatCardContent extends MessageContent implements Parcelable private String extraData; public static void sendMessage(Conversation.ConversationType type, String targetId, MessageChatCardContent tipsContent, OnSendMessageListener listener) { - ToastUtil.show("发送给:"+targetId); Message message=Message.obtain(targetId, type,tipsContent); IMCenter.getInstance().sendMessage(message,null,null,new IRongCallback.ISendMessageCallback(){ @@ -44,7 +43,6 @@ public class MessageChatCardContent extends MessageContent implements Parcelable @Override public void onSuccess(Message message) { - ToastUtil.show("发送成功"); if (listener != null) { listener.onSuccess(null, null); } @@ -52,7 +50,6 @@ public class MessageChatCardContent extends MessageContent implements Parcelable @Override public void onError(Message message, RongIMClient.ErrorCode e) { - ToastUtil.show("发送失败:"+e.getMessage()); if (listener != null) { listener.onError(e.code, e.msg); }