feat: create group can push notification (#2617)

pull/2638/head
icey-yu 2 months ago committed by GitHub
parent 67855d4f80
commit 34d7d38da1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -304,6 +304,13 @@ func (g *groupServer) CreateGroup(ctx context.Context, req *pbgroup.CreateGroupR
}
g.notification.GroupCreatedNotification(ctx, tips)
if req.GroupInfo.Notification != "" {
g.notification.GroupInfoSetAnnouncementNotification(ctx, &sdkws.GroupInfoSetAnnouncementTips{
Group: tips.Group,
OpUser: tips.OpUser,
})
}
reqCallBackAfter := &pbgroup.CreateGroupReq{
MemberUserIDs: userIDs,
GroupInfo: resp.GroupInfo,

Loading…
Cancel
Save