Method

CMClientset_homeserver

Declaration [src]

gboolean
cm_client_set_homeserver (
  CmClient* self,
  const char* homeserver
)

Description [src]

Set the matrix Home server URL for the client.

Parameters

homeserver

Type: const char*

The homserver URL.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if homeserver is valid, FALSE otherwise.