Skip to content

Commit

Permalink
fix: ForceSystemAlbum chat page not send
Browse files Browse the repository at this point in the history
  • Loading branch information
HdShare committed Jan 8, 2025
1 parent 3420600 commit 84de848
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,10 @@ class ChooseAgentActivity : AbstractChooseActivity() {
putExtra("forward_type", 0)
}
bundle?.let {
val uin = it.getString("targetUin")
if (uin != null) {
putExtra("uin", uin)
}
val type = it.getInt("peerType", -1)
if (type != -1) {
putExtra("uintype", type)
}
val uin = it.getString("targetUin") ?: it.getLong("key_peerUin").toString()
putExtra("uin", uin)
val type = it.getInt("peerType", it.getInt("key_chat_type", 0) - 1)
putExtra("uintype", type)
putExtras(it)
}
putExtra("selection_mode", 2)
Expand Down

0 comments on commit 84de848

Please sign in to comment.