fix [分享飞机票底部提示需去除]
This commit is contained in:
parent
62419c86cf
commit
578de1f101
@ -33,7 +33,6 @@ public class MessageChatCardContent extends MessageContent implements Parcelable
|
||||
private String extraData;
|
||||
|
||||
public static <T> void sendMessage(Conversation.ConversationType type, String targetId, MessageChatCardContent tipsContent, OnSendMessageListener<T> 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user