Method
PurpleConversationManagerfind_chat_by_id
since: 3.0.0
Declaration [src]
PurpleConversation*
purple_conversation_manager_find_chat_by_id (
PurpleConversationManager* manager,
PurpleAccount* account,
gint id
)
Description [src]
Looks for a registered chat conversation belonging to account
with an id of
id
.
This is typically only called by protocols.
Available since: 3.0.0
Parameters
account
-
Type:
PurpleAccount
The
PurpleAccount
instance whose conversation to find.The data is owned by the caller of the function. id
-
Type:
gint
The id of the conversation.
Return value
Type: PurpleConversation
The PurpleConversation
if found, otherwise NULL
.
The data is owned by the instance. |