mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Check if it is possible to 'Send now.'
This commit is contained in:
@@ -114,7 +114,7 @@ bool HasInlineItems(const HistoryItemsList &items) {
|
||||
|
||||
} // namespace
|
||||
|
||||
QString GetErrorTextForForward(
|
||||
QString GetErrorTextForSending(
|
||||
not_null<PeerData*> peer,
|
||||
const HistoryItemsList &items,
|
||||
const TextWithTags &comment,
|
||||
@@ -234,7 +234,7 @@ void FastShareMessage(not_null<HistoryItem*> item) {
|
||||
|
||||
const auto error = [&] {
|
||||
for (const auto peer : result) {
|
||||
const auto error = GetErrorTextForForward(
|
||||
const auto error = GetErrorTextForSending(
|
||||
peer,
|
||||
items,
|
||||
comment);
|
||||
@@ -354,11 +354,11 @@ MTPDmessage_ClientFlags NewMessageClientFlags() {
|
||||
return MTPDmessage_ClientFlag::f_sending;
|
||||
}
|
||||
|
||||
QString GetErrorTextForForward(
|
||||
QString GetErrorTextForSending(
|
||||
not_null<PeerData*> peer,
|
||||
const HistoryItemsList &items,
|
||||
bool ignoreSlowmodeCountdown) {
|
||||
return GetErrorTextForForward(peer, items, {}, ignoreSlowmodeCountdown);
|
||||
return GetErrorTextForSending(peer, items, {}, ignoreSlowmodeCountdown);
|
||||
}
|
||||
|
||||
struct HistoryMessage::CreateConfig {
|
||||
|
Reference in New Issue
Block a user