mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-10-15 14:26:04 +00:00
Export chat messages text.
This commit is contained in:
@@ -17,6 +17,10 @@ namespace Output {
|
||||
File::File(const QString &path) : _path(path) {
|
||||
}
|
||||
|
||||
bool File::empty() const {
|
||||
return !_offset;
|
||||
}
|
||||
|
||||
File::Result File::writeBlock(const QByteArray &block) {
|
||||
const auto result = writeBlockAttempt(block);
|
||||
if (result != Result::Success) {
|
||||
|
Reference in New Issue
Block a user