mirror of
https://github.com/pppscn/SmsForwarder
synced 2025-08-03 01:17:41 +08:00
优化:发送通道企微应用消息
增加限制:@all
或指定成员
(避免82001错误)
This commit is contained in:
parent
878a6acefd
commit
2ca88ae495
@ -251,6 +251,9 @@ class WeworkAgentFragment : BaseFragment<FragmentSendersWeworkAgentBinding?>(),
|
||||
|
||||
val atAll = binding!!.sbAtAll.isChecked
|
||||
val toUser = binding!!.etToUser.text.toString().trim()
|
||||
if (!atAll && TextUtils.isEmpty(toUser)) {
|
||||
throw Exception(getString(R.string.invalid_at_mobiles))
|
||||
}
|
||||
|
||||
val proxyType: Proxy.Type = when (binding!!.rgProxyType.checkedRadioButtonId) {
|
||||
R.id.rb_proxyHttp -> Proxy.Type.HTTP
|
||||
|
@ -149,8 +149,7 @@
|
||||
style="@style/senderBarStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
Loading…
x
Reference in New Issue
Block a user