(cherry picked from commit 063e1b5ff5)
Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
This commit is contained in:
co-authored by
Alexander Emelin
parent
ef05f687ca
commit
e2b6820d42
@@ -95,7 +95,9 @@ func (r *PluginPathRunner) OnSubscribe(ctx context.Context, user *models.SignedI
|
||||
|
||||
reply := models.SubscribeReply{
|
||||
Presence: true,
|
||||
Data: resp.Data,
|
||||
}
|
||||
if resp.InitialData != nil {
|
||||
reply.Data = resp.InitialData.Data()
|
||||
}
|
||||
return reply, backend.SubscribeStreamStatusOK, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user