mock-foundation / moc

A (really) native and powerful macOS and iPadOS Telegram client, optimized for moderating large communities and personal use. Currently in alpha
GNU General Public License v3.0
126 stars 7 forks source link

Migrate from custom Message models to TDLib ones #108

Closed voltangle closed 2 years ago

voltangle commented 2 years ago

Why? Well, it will result in better performance, because the message content loading will be done by MessageView lazily (thanks to LazyVStack), compared to how it is now when all messages are loaded when a user opens a chat. Pretty good reasons to do so tbh

voltangle commented 2 years ago

This migration can possibly also fix #128, but I don't guarantee

voltangle commented 2 years ago

No, it will not be done, instead I should just optimise the existing thing, and make it look better