Commit Graph

16 Commits (master)

Author SHA1 Message Date
Lonami Exo d350d1a048 Load messages from API 2022-10-29 13:06:38 +02:00
Lonami Exo 43421f6e54 Use UDL interface to avoid passing around pointers 2022-10-27 20:12:41 +02:00
Lonami Exo 912949a079 Use snake_case in UDL
uniffi automatically converts to camelCase for Kotlin,
but it won't convert to snake_case for Rust.
2022-10-27 19:48:47 +02:00
Lonami Exo 1574ce683c Inline native methods
The split no longer makes sense now that uniffi is the bridge.
2022-10-27 19:44:48 +02:00
Lonami Exo d11a00d062 Make use of errors in the UDL 2022-10-27 19:42:21 +02:00
Lonami Exo 004a921299 Use UDL dictionaries to simplify return values 2022-10-27 18:42:48 +02:00
Lonami Exo 1a56b03614 Move MessageAck enum to UDL 2022-10-27 18:08:57 +02:00
Lonami Exo 812597f027 Replace manual native bindings with UniFFI 2022-10-27 17:42:55 +02:00
Lonami Exo 442b019134 Load more dialog data from the API 2022-10-23 20:25:45 +02:00
Lonami Exo 7bfbcc955c Add env var to support connecting to test servers 2022-10-20 21:18:56 +02:00
Lonami Exo 0f412f7334 Load API ID and hash from env 2022-10-20 21:18:33 +02:00
Lonami Exo cd37c5aa14 Run cargo fmt on the project
IDE Action on Save seemed to be messing with the ordering.
2022-10-20 20:06:22 +02:00
Lonami Exo 0919c4a13c Persist and load login details to a local database 2022-10-20 19:59:11 +02:00
Lonami Exo f2cd0eb69a Remove unnecessary Box roundtrip in Dialog accessors 2022-10-13 17:06:44 +02:00
Lonami Exo 476f80cb5e Integrate with Telegram's API 2022-10-12 21:26:51 +02:00
Lonami Exo 9c33d1fbb0 Add dependency on native Rust project 2022-10-12 16:03:29 +02:00