mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-02 09:26:45 +02:00
Update API
-Removed usage of deprecated API functions -Integrated conference changes with a few regressions
This commit is contained in:
@ -163,6 +163,13 @@ void prompt_update_status(ToxWindow *prompt, TOX_USER_STATUS status)
|
||||
statusbar->status = status;
|
||||
}
|
||||
|
||||
/* Returns our own connection status */
|
||||
TOX_CONNECTION prompt_selfConnectionStatus(void)
|
||||
{
|
||||
StatusBar *statusbar = prompt->stb;
|
||||
return statusbar->connection;
|
||||
}
|
||||
|
||||
/* Adds friend request to pending friend requests.
|
||||
Returns request number on success, -1 if queue is full. */
|
||||
static int add_friend_request(const char *public_key, const char *data)
|
||||
|
Reference in New Issue
Block a user