2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Display right action button not too high.

This commit is contained in:
John Preston
2017-12-06 18:15:41 +04:00
parent 1473c14668
commit c6d3fd883a
7 changed files with 42 additions and 26 deletions

View File

@@ -1464,7 +1464,7 @@ void MainWidget::sendMessage(const MessageToSend &message) {
readServerHistory(history);
_history->fastShowAtEnd(history);
if (!history || !_history->canSendMessages(history->peer)) {
if (!history || !history->peer->canWrite()) {
return;
}
saveRecentHashtags(textWithTags.text);