Difference between revisions of "DeclineFriendship Capability"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "Category:Capabilities The DeclineFriendship Capability performs a function similar to the DeclineFriendship LLMessage. It allows the recipient of a friendship offer,...")
 
m
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:


  ; 4xx/5xx codes as well
  ; 4xx/5xx codes as well
=== History ===
{| class="wikitable"
|-
| ~2018 || Introduced
|}

Latest revision as of 08:10, 1 April 2022

The DeclineFriendship Capability performs a function similar to the DeclineFriendship LLMessage. It allows the recipient of a friendship offer, restored from the retrieval of an instant message, to be actively declined. This interface comes with usage contraints not present in the LLMessage interface:

  • The friendship offer must have been retrieved from offline/stored instant messages. Offers from online agents cannot be declined with this interface.
  • The friendship offer must have been retrieved using the ReadOfflineMsgs Capability. Offers that arise from events in response to a RetrieveInstantMessages LLMessage will likely be ignored if declined using this capability.

One query term is required when invoking the cap:

  • 'from' must provide the UUID of the agent offering friendship
Client Request DEL <path>?from=<uuid> ->
<empty>

; 200 Response <-
{
  success: Boolean
}
; 4xx/5xx codes as well

History

~2018 Introduced