get_publish_request


Description:

[ Version ( since = "0.13.12" ) ]
public unowned string get_publish_request ()

If publish_state is set to ASK, return the message that this remote contact sent when they requested permission to see the local user's presence, an empty string ("") otherwise.

This remains valid until the main loop is re-entered; if the caller requires a string that will persist for longer than that, it must be copied with strdup.

This is set to null until SUBSCRIPTION_STATES has been prepared, and it is guaranteed to be non-%NULL afterward.

Parameters:

this

a Contact

Returns:

the value of publish_request.




2022 vala-language.org