#Smithereen update! Image attachments. The UI currently looks fugly, but hey, it works for now at least. I'll make it prettier when I get to all this JS/AjaxLayout stuff, which is the next thing on my todo list anyway.
Took me too long because I participated in the Telegram developer contest, and also because it just takes so much thinking to figure out how to keep files in sync with the database. Hopefully I'll be able to reuse this code wherever I need image uploads.
@grishka Там ведь будет поддержка разных бэкендов для загружаемых файлов? Чтобы можно было не только локально, но ещё на S3, например, хранить?