Fix empty string comparison issues in the codebase (#16686)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
200a56fa5a
Коммит
94c24eea20
@@ -155,7 +155,7 @@ func (s *Session) GetTeamByTeamId(teamId string) *TeamMember {
|
||||
}
|
||||
|
||||
func (s *Session) IsMobileApp() bool {
|
||||
return len(s.DeviceId) > 0 || s.IsMobile()
|
||||
return s.DeviceId != "" || s.IsMobile()
|
||||
}
|
||||
|
||||
func (s *Session) IsMobile() bool {
|
||||
|
||||
Ссылка в новой задаче
Block a user