Minor status updates (#6889)
Этот коммит содержится в:
коммит произвёл
Saturnino Abril
родитель
87e62e8823
Коммит
2bfd7be8d1
@@ -55,6 +55,8 @@ func createPost(c *Context, w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
app.SetStatusOnline(c.Session.UserId, c.Session.Id, false)
|
||||||
|
|
||||||
w.WriteHeader(http.StatusCreated)
|
w.WriteHeader(http.StatusCreated)
|
||||||
w.Write([]byte(rp.ToJson()))
|
w.Write([]byte(rp.ToJson()))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,6 +74,9 @@ export function loadStatusesForChannelAndSidebar() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const {currentUserId} = getState().entities.users;
|
||||||
|
statusesToLoad[currentUserId] = true;
|
||||||
|
|
||||||
loadStatusesByIds(Object.keys(statusesToLoad));
|
loadStatusesByIds(Object.keys(statusesToLoad));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user