Commit Graph

6 Commits

Author SHA1 Message Date
John Preston 19ce1edc16 Use base::SafeRound instead of std::round.
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b, 8f5830d520.

Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
John Preston b2e829904f Add support for 1 month self-destruct messages. 2021-07-30 16:05:13 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
John Preston 5f030bc0c8 Remove debug-only ttl for messages. 2021-02-22 23:42:42 +04:00
John Preston 781e7a2e79 Update API scheme, simplify auto-delete. 2021-02-22 23:42:41 +04:00
John Preston 15e03687f8 Add auto-delete period edit box. 2021-02-22 23:42:41 +04:00