feat(social): show friend presence and require online listening
ci / api / api (push) Successful in 1m11s
ci / db / db (push) Failing after 23s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m29s
ci / ts / ts (packages + web) (push) Successful in 3m15s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 1m27s
ci / api / api (push) Successful in 1m11s
ci / db / db (push) Failing after 23s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m29s
ci / ts / ts (packages + web) (push) Successful in 3m15s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 1m27s
This commit is contained in:
1 parent
582c0dc3d4
commit
cd84ceecb2
26 files changed
+574
-400
No files matched your search
@@ -44,6 +44,9 @@ func (h *Handler) GetSocial(ctx context.Context, _ gen.GetSocialRequestObject) (
|
||||
if e != nil {
|
||||
return nil, e
|
||||
}
|
||||
if e = h.store.markPresent(ctx, id); e != nil {
|
||||
return nil, e
|
||||
}
|
||||
v, e := h.store.inbox(ctx, id)
|
||||
return gen.GetSocial200JSONResponse(v), e
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user