MCPcopy Create free account
hub / github.com/daodst/chat / AddTelNumbers

Method AddTelNumbers

userapi/internal/api.go:918–920  ·  view source on GitHub ↗
(ctx context.Context, localpart string, telNums []int64)

Source from the content-addressed store, hash-verified

916}
917
918func (a *UserInternalAPI) AddTelNumbers(ctx context.Context, localpart string, telNums []int64) (err error) {
919 return a.DB.AddTelNumbers(ctx, localpart, telNums)
920}
921
922func (a *UserInternalAPI) PerformSaveThreePIDAssociation(ctx context.Context, req *api.PerformSaveThreePIDAssociationRequest, res *struct{}) error {
923 return a.DB.SaveThreePIDAssociation(ctx, req.ThreePID, req.Localpart, req.Medium)

Callers

nothing calls this directly

Calls 1

AddTelNumbersMethod · 0.65

Tested by

no test coverage detected