Files
open-im-server/internal/common/notification/user.go
T

14 lines
412 B
Go
Raw Normal View History

2023-02-14 11:33:10 +08:00
package notification
import (
2023-02-23 19:15:30 +08:00
"OpenIM/pkg/common/constant"
"OpenIM/pkg/proto/sdkws"
2023-02-14 11:33:10 +08:00
"context"
)
// send to myself
func (c *Check) UserInfoUpdatedNotification(ctx context.Context, opUserID string, changedUserID string) {
selfInfoUpdatedTips := sdkws.UserInfoUpdatedTips{UserID: changedUserID}
c.friendNotification(ctx, opUserID, changedUserID, constant.UserInfoUpdatedNotification, &selfInfoUpdatedTips)
}