测试更改
This commit is contained in:
parent
6654fe0434
commit
c08cf6ea57
@ -79,7 +79,6 @@ import com.yunbao.live.socket.SocketMessageListener;
|
|||||||
import com.yunbao.live.socket.SocketRyChatUtil;
|
import com.yunbao.live.socket.SocketRyChatUtil;
|
||||||
import com.yunbao.live.socket.SocketRyClient;
|
import com.yunbao.live.socket.SocketRyClient;
|
||||||
import com.yunbao.live.utils.LoadDian9TuUtil;
|
import com.yunbao.live.utils.LoadDian9TuUtil;
|
||||||
import com.yunbao.live.utils.UnzipFromAssets;
|
|
||||||
import com.yunbao.live.views.AbsLiveViewHolder;
|
import com.yunbao.live.views.AbsLiveViewHolder;
|
||||||
import com.yunbao.live.views.LiveAddImpressViewHolder;
|
import com.yunbao.live.views.LiveAddImpressViewHolder;
|
||||||
import com.yunbao.live.views.LiveAdminListViewHolder;
|
import com.yunbao.live.views.LiveAdminListViewHolder;
|
||||||
@ -93,12 +92,10 @@ import org.greenrobot.eventbus.EventBus;
|
|||||||
import org.greenrobot.eventbus.Subscribe;
|
import org.greenrobot.eventbus.Subscribe;
|
||||||
import org.greenrobot.eventbus.ThreadMode;
|
import org.greenrobot.eventbus.ThreadMode;
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Objects;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by cxf on 2018/10/7.
|
* Created by cxf on 2018/10/7.
|
||||||
@ -942,6 +939,7 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL
|
|||||||
* 发 聊天 消息
|
* 发 聊天 消息
|
||||||
*/
|
*/
|
||||||
public void sendChatMessage(String content, String atUserID, String atUserName) {
|
public void sendChatMessage(String content, String atUserID, String atUserName) {
|
||||||
|
if (TextUtils.isEmpty(content)) return;
|
||||||
if (!mIsAnchor) {
|
if (!mIsAnchor) {
|
||||||
UserBean u = CommonAppConfig.getInstance().getUserBean();
|
UserBean u = CommonAppConfig.getInstance().getUserBean();
|
||||||
if (u != null && u.getLevel() < mChatLevel) {
|
if (u != null && u.getLevel() < mChatLevel) {
|
||||||
|
@ -546,9 +546,9 @@ public class MyWebViewActivity extends AbsActivity {
|
|||||||
if (!TextUtils.isEmpty(event.getMethod())) {
|
if (!TextUtils.isEmpty(event.getMethod())) {
|
||||||
if (TextUtils.equals(event.getMethod(), "androidCommunityGift")) {
|
if (TextUtils.equals(event.getMethod(), "androidCommunityGift")) {
|
||||||
Constants.nowPostsId = event.getPostsId();
|
Constants.nowPostsId = event.getPostsId();
|
||||||
|
|
||||||
EncourageDialog fragment = new EncourageDialog();
|
EncourageDialog fragment = new EncourageDialog();
|
||||||
fragment.show(((MyWebViewActivity) mContext).getSupportFragmentManager(), "EncourageDialog");
|
fragment.show(((MyWebViewActivity) mContext).getSupportFragmentManager(), "EncourageDialog");
|
||||||
}
|
|
||||||
} else if (TextUtils.equals(event.getMethod(), "modifyMydata")) {
|
} else if (TextUtils.equals(event.getMethod(), "modifyMydata")) {
|
||||||
indexInto = event.getIndexInto();
|
indexInto = event.getIndexInto();
|
||||||
} else if (TextUtils.equals(event.getMethod(), "androidMethodLookToLive")) {
|
} else if (TextUtils.equals(event.getMethod(), "androidMethodLookToLive")) {
|
||||||
@ -587,3 +587,4 @@ public class MyWebViewActivity extends AbsActivity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user