We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3420600 commit 84de848Copy full SHA for 84de848
app/src/main/java/me/singleneuron/activity/ChooseAgentActivity.kt
@@ -128,14 +128,10 @@ class ChooseAgentActivity : AbstractChooseActivity() {
128
putExtra("forward_type", 0)
129
}
130
bundle?.let {
131
- val uin = it.getString("targetUin")
132
- if (uin != null) {
133
- putExtra("uin", uin)
134
- }
135
- val type = it.getInt("peerType", -1)
136
- if (type != -1) {
137
- putExtra("uintype", type)
138
+ 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)
139
putExtras(it)
140
141
putExtra("selection_mode", 2)
0 commit comments