Method

PurplePresenceManageradd

unstable since: 3.0

Declaration [src]

gboolean
purple_presence_manager_add (
  PurplePresenceManager* manager,
  PurpleSavedPresence* saved_presence
)

Description [src]

Adds the saved presence to the manager.

If a saved presence with the same id is already known to the manager, the new one will not be added and false will be returned.

Available since: 3.0

Parameters

saved_presence

Type: PurpleSavedPresence

The saved presence to add.

The data is owned by the caller of the method.

Return value

Type: gboolean

True if the presence was added.