Log maximum status length before resizing.

This commit is contained in:
tastytea 2019-12-29 02:39:00 +01:00
parent d7fb71dc95
commit 82b136aeca
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ void MastoAPI::post_item(const Item &item)
}
return _profile.max_size;
}()};
BOOST_LOG_TRIVIAL(debug) << "Maximum status length: " << status.size();
constexpr string_view omission = " […]";
if ((len_status + len_append) > len_max)