mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
Remove edit caption UI for not my messages.
Regression was introduced in 8eb7f1f1aa
.
This commit is contained in:
parent
da0387a23e
commit
8f719f8c06
1 changed files with 1 additions and 3 deletions
|
@ -766,9 +766,7 @@ bool HistoryItem::canEdit(const QDateTime &cur) const {
|
|||
}
|
||||
|
||||
if (auto media = msg->getMedia()) {
|
||||
if (media->canEditCaption()) {
|
||||
return true;
|
||||
} else if (media->type() != MediaTypeWebPage) {
|
||||
if (!media->canEditCaption() && media->type() != MediaTypeWebPage) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue