Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
pidan
/
FuSiLive
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5acc3eb0
authored
May 08, 2026
by
suolong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复个别手机发信息崩溃的问题
parent
46a13879
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/Controller/FUSChatDetailViewController.m
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/Controller/FUSChatDetailViewController.m
View file @
5acc3eb0
...
...
@@ -1482,11 +1482,15 @@
for
(
FUSChatDetailFrameModel
*
frameModel
in
self
.
chatDetailArr
)
{
if
([
model
.
msgModel
.
messageID
isEqualToString
:
frameModel
.
msgModel
.
messageID
])
{
[
frameModel
fus_setValueWithModel
:
model
];
frameModel
.
msgModel
=
model
.
msgModel
;
NSInteger
refreshIndex
=
[
self
.
chatDetailArr
indexOfObject
:
frameModel
];
if
(
refreshIndex
==
NSNotFound
)
{
return
;
}
// 直接替换对象,避免通过“模型->字典->模型”的中转导致图片消息在 YYModel 反序列化时崩溃
[
self
.
chatDetailArr
replaceObjectAtIndex
:
refreshIndex
withObject
:
model
];
[
self
fus_judgeMessageTimeIsNeedShowWithIsNewMessage
:
YES
];
FUSIMChatDetailCell
*
cell
=
[
self
.
tableView
cellForRowAtIndexPath
:[
NSIndexPath
indexPathForRow
:
[
self
.
chatDetailArr
indexOfObject
:
frameModel
]
inSection
:
0
]];
[
cell
fus_setCellDetailContentWithModel
:
frameM
odel
];
FUSIMChatDetailCell
*
cell
=
[
self
.
tableView
cellForRowAtIndexPath
:[
NSIndexPath
indexPathForRow
:
refreshIndex
inSection
:
0
]];
[
cell
fus_setCellDetailContentWithModel
:
m
odel
];
return
;
}
}
...
...
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