social.grain.group.dismissInvite

Stop showing a group's invite in Grain: the group is added to the viewer's dismissedInvitesPref, the other preferences left as they are.

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 namespace authority
Details · procedure
Kindprocedure
Authoritygroup.grain.social
Commit rev3n3akkmabklrs
Indexed
cid bafyreiaqpzlgp4wcfrpgp4cztvl75bnkkgsvk37goa6m6p64efnrte5mga

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Stop showing a group's invite in Grain: the group is added to the viewer's dismissedInvitesPref, the other preferences left as they are.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "group": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "group"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Stop showing a group's invite in Grain. Private and Grain's alone: the invite stays with its group, which is told nothing, and the viewer may still take it up by joining. Kept in the viewer's preferences as a dismissedInvitesPref.",
  "id": "social.grain.group.dismissInvite",
  "lexicon": 1
}