| 95 */ |
95 */ |
| 96 PURPLE_IRCV3_AVAILABLE_IN_ALL |
96 PURPLE_IRCV3_AVAILABLE_IN_ALL |
| 97 void purple_ircv3_connection_add_status_message(PurpleIRCv3Connection *connection, IbisMessage *message); |
97 void purple_ircv3_connection_add_status_message(PurpleIRCv3Connection *connection, IbisMessage *message); |
| 98 |
98 |
| 99 /** |
99 /** |
| 100 * purple_ircv3_connection_is_channel: |
|
| 101 * @connection: The instance. |
|
| 102 * @id: The id to check. |
|
| 103 * |
|
| 104 * Checks if @id is a channel. |
|
| 105 * |
|
| 106 * Right now this just checks if @id starts with a `#` but in the future this |
|
| 107 * will be updated to check all channel prefixes that the connection supports. |
|
| 108 * |
|
| 109 * Returns: %TRUE if @id is a channel otherwise %FALSE. |
|
| 110 * |
|
| 111 * Since: 3.0 |
|
| 112 */ |
|
| 113 PURPLE_IRCV3_AVAILABLE_IN_ALL |
|
| 114 gboolean purple_ircv3_connection_is_channel(PurpleIRCv3Connection *connection, const char *id); |
|
| 115 |
|
| 116 /** |
|
| 117 * purple_ircv3_connection_find_or_create_conversation: |
100 * purple_ircv3_connection_find_or_create_conversation: |
| 118 * @connection: The instance. |
101 * @connection: The instance. |
| 119 * @id: The id of the conversation. |
102 * @id: The id of the conversation. |
| 120 * |
103 * |
| 121 * Looks for an existing conversation belonging to @connection and returns it |
104 * Looks for an existing conversation belonging to @connection and returns it |