1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-08 00:06:36 +01:00

Fix some issues with file transfers

- Fix bug causing failed avatar transfers to be sent as normal file transfers
      when a friend goes offline and comes back online
- Remove some unused members of the FileTransfer struct
- Rename filenum -> filenumber and friendnum -> friendnumber
This commit is contained in:
jfreegman
2020-11-13 19:38:33 -05:00
parent 15b7a30925
commit dac0124f0f
7 changed files with 106 additions and 99 deletions

View File

@@ -48,5 +48,6 @@ void avatar_unset(Tox *m);
void on_avatar_chunk_request(Tox *m, struct FileTransfer *ft, uint64_t position, size_t length);
void on_avatar_file_control(Tox *m, struct FileTransfer *ft, Tox_File_Control control);
void on_avatar_friend_connection_status(Tox *m, uint32_t friendnumber, Tox_Connection connection_status);
#endif /* AVATARS_H */