Only update status when clicking onto app (#6435)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
751469979a
Коммит
b84891f654
@@ -1041,7 +1041,7 @@ func SetActiveChannel(userId string, channelId string) *model.AppError {
|
||||
} else {
|
||||
oldStatus = status.Status
|
||||
status.ActiveChannel = channelId
|
||||
if !status.Manual {
|
||||
if !status.Manual && channelId != "" {
|
||||
status.Status = model.STATUS_ONLINE
|
||||
}
|
||||
status.LastActivityAt = model.GetMillis()
|
||||
|
||||
Ссылка в новой задаче
Block a user