File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 120
120
this . group . isGroup = true ;
121
121
dbInbounds . forEach ( ( dbInboundItem ) => {
122
122
this . showProcess ( dbInboundItem ) ;
123
- this . addClient ( this . inbound . protocol , this . clients ) ;
124
- this . group . inbounds . push ( dbInboundItem . id )
125
- this . group . clients . push ( this . clients [ this . index ] )
123
+ if ( this . dbInbound . isMultiUser ( ) ) {
124
+ this . addClient ( this . inbound . protocol , this . clients ) ;
125
+ this . group . inbounds . push ( dbInboundItem . id )
126
+ this . group . clients . push ( this . clients [ this . index ] )
127
+ }
126
128
} )
127
129
this . group . currentClient = this . clients [ this . index ]
128
130
}
140
142
showProcess ( dbInbound , index = null ) {
141
143
this . dbInbound = new DBInbound ( dbInbound ) ;
142
144
this . inbound = dbInbound . toInbound ( ) ;
143
- this . clients = this . inbound . clients ;
144
- this . index = index === null ? this . clients . length : index ;
145
- this . delayedStart = false ;
145
+ if ( this . dbInbound . isMultiUser ( ) ) {
146
+ this . clients = this . inbound . clients ;
147
+ this . index = index === null ? this . clients . length : index ;
148
+ this . delayedStart = false ;
149
+ }
146
150
} ,
147
151
singleEditClientProcess ( index ) {
148
152
if ( this . clients [ index ] . expiryTime < 0 ) {
You can’t perform that action at this time.
0 commit comments