1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-07 21:37:04 +09:00

GO-3965 Add mentions in relation links

This commit is contained in:
kirillston 2024-09-10 09:27:26 +02:00
parent 14fc624a4e
commit af547b6da6
No known key found for this signature in database
GPG key ID: 88218A7F1109754B
2 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ func (sb *smartBlock) injectMentions(s *state.State) {
NoImages: true,
})
mentions = slice.RemoveMut(mentions, sb.Id())
s.SetLocalDetail(bundle.RelationKeyMentions.String(), pbtypes.StringList(mentions))
s.SetDetailAndBundledRelation(bundle.RelationKeyMentions, pbtypes.StringList(mentions))
}
func isBacklinksChanged(msgs []simple.EventMessage) bool {

View file

@ -4,7 +4,7 @@ The majority of search filters for ObjectSearch-requests have simple format `key
```json
{
"RelationKey": "type",
"condition": 2, // equals
"condition": 2, // is not equal
"value": {
"stringValue": "ot-page"
}
@ -45,7 +45,7 @@ All objects that has similar name and description:
```json
{
"RelationKey": "name",
"condition": 1,
"condition": 1, // equals
"value": {
"structValue": {
"fields": {