Log maximum status length before resizing.
This commit is contained in:
parent
d7fb71dc95
commit
82b136aeca
|
@ -72,6 +72,8 @@ void MastoAPI::post_item(const Item &item)
|
||||||
}
|
}
|
||||||
return _profile.max_size;
|
return _profile.max_size;
|
||||||
}()};
|
}()};
|
||||||
|
BOOST_LOG_TRIVIAL(debug) << "Maximum status length: " << status.size();
|
||||||
|
|
||||||
constexpr string_view omission = " […]";
|
constexpr string_view omission = " […]";
|
||||||
|
|
||||||
if ((len_status + len_append) > len_max)
|
if ((len_status + len_append) > len_max)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user