sync: 0.7.3 from main (15b0dbdde03c6b89733ca07d36eefa25fd301107)

This commit is contained in:
github-actions[bot] committed 2026-11-12 14:58:59 +00:00
1 parent 9337afc47e
commit 80d7c72c07
12 files changed
+484 -315

No files matched your search

+4 -4
View File
@@ -444,7 +444,7 @@ func (u *userService) BlockContact(data *BlockStruct, instance *instance_model.I
return nil, errors.New("invalid phone number")
}
resp, err := client.UpdateBlocklist(context.Background(), jid, events.BlocklistChangeActionBlock)
resp, err := client.UpdateBlocklist(context.Background(), jid, events.BlocklistChangeActionBlock, "")
if err != nil {
return nil, err
}
@@ -463,7 +463,7 @@ func (u *userService) UnlockContact(data *BlockStruct, instance *instance_model.
return nil, errors.New("invalid phone number")
}
resp, err := client.UpdateBlocklist(context.Background(), jid, events.BlocklistChangeActionUnblock)
resp, err := client.UpdateBlocklist(context.Background(), jid, events.BlocklistChangeActionUnblock, "")
if err != nil {
return nil, err
}
@@ -477,7 +477,7 @@ func (u *userService) GetBlockList(instance *instance_model.Instance) (*types.Bl
return nil, err
}
resp, err := client.GetBlocklist(context.Background())
resp, err := client.GetBlocklist(context.Background(), "")
if err != nil {
return nil, err
}
@@ -532,7 +532,7 @@ func (u *userService) SetProfileStatus(data *SetProfileStatusStruct, instance *i
return false, err
}
err = client.SetStatusMessage(context.Background(), data.Status)
err = client.SetStatusMessage(context.Background(), types.SetStatusInput{Text: &data.Status})
if err != nil {
return false, err
}