fix: 修复消息中心跳转问题

This commit is contained in:
叶子维
2025-03-11 10:35:39 +08:00
parent 86b4761a1c
commit 1587ca8e6a

View File

@ -627,13 +627,13 @@ class MessageListAdapter(
else -> {
val entity = LinkEntity()
entity.type = data.type
if (TextUtils.isEmpty(data.id)) {
if (!TextUtils.isEmpty(data.id)) {
entity.link = data.id
}
if (TextUtils.isEmpty(data.url)) {
if (!TextUtils.isEmpty(data.url)) {
entity.link = data.url
}
if (TextUtils.isEmpty(data.document)) {
if (!TextUtils.isEmpty(data.document)) {
entity.text = data.document
}
entity.community = data.community