Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
61b3d0b7
Commit
61b3d0b7
authored
Apr 06, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:todo
parent
f2ad85f9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
NewMultiMessageFragment.kt
m-im/src/main/java/com/yidianling/im/ui/page/NewMultiMessageFragment.kt
+1
-1
YDLMessageFragment.java
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
+4
-2
InputPanel.java
m-im/src/main/java/com/yidianling/uikit/business/session/module/input/InputPanel.java
+4
-4
No files found.
m-im/src/main/java/com/yidianling/im/ui/page/NewMultiMessageFragment.kt
View file @
61b3d0b7
...
...
@@ -356,7 +356,7 @@ class NewMultiMessageFragment : BaseFragment() {
// ToastUtil.toastShort("请登录后再试")
// }
// NimUIKit.startYDLChatting(context,"4597318766",SessionTypeEnum.Team,null,null,null)
SessionHelper
.
startTeamSession
(
context
,
"4
597318766
"
)
SessionHelper
.
startTeamSession
(
context
,
"4
621207543
"
)
}
}
/**
...
...
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
View file @
61b3d0b7
...
...
@@ -349,7 +349,9 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
}
else
{
titleBar
.
setTitleRightDraw
(
getResources
().
getDrawable
(
R
.
drawable
.
im_erduoxiaolv
));
}
titleBar
.
setTitle
(
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
().
name
);
if
(
ActionHandlerStorage
.
getL
(
sessionId
)!=
null
){
titleBar
.
setTitle
(
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
().
name
);
}
// 初始化顶部专家信息栏
if
(
ActionHandlerStorage
.
getL
(
sessionId
)
!=
null
&&
ActionHandlerStorage
.
getL
(
sessionId
).
getUserType
()
==
2
)
{
top_expert_info_cl
.
setVisibility
(
View
.
VISIBLE
);
...
...
@@ -399,7 +401,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
//初始化私聊页面配置
initDefaultConfig
();
if
(
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
().
doctorId
!=
null
){
if
(
null
!=
ActionHandlerStorage
.
getL
(
sessionId
)&&
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
().
doctorId
!=
null
){
// 获取专家是否在繁忙状态
ServiceImpl
.
Companion
.
getInstance
().
queryDoctorIsBusy
(
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
().
doctorId
)
.
subscribeOn
(
Schedulers
.
io
())
...
...
m-im/src/main/java/com/yidianling/uikit/business/session/module/input/InputPanel.java
View file @
61b3d0b7
...
...
@@ -407,10 +407,10 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
//验证用户是否已经绑定手机,若没有绑定则弹出提示
// 账户信息是null时 判断是否是聊天室 不是聊天室提示用户退出重试
if
(
ActionHandlerStorage
.
getL
(
container
.
account
)
==
null
&&
container
.
sessionType
!=
SessionTypeEnum
.
ChatRoom
)
{
ToastUtil
.
toastShort
(
"请退出聊天界面重试"
);
return
;
}
//
if (ActionHandlerStorage.getL(container.account) == null && container.sessionType != SessionTypeEnum.ChatRoom) {
//
ToastUtil.toastShort("请退出聊天界面重试");
//
return;
//
}
if
(
v
==
switchToTextButtonInInputBar
)
{
switchToTextLayout
(
true
);
// 显示文本发送的布局
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment