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