mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fixed some unused-but-set-variable warnings.
This commit is contained in:
@@ -1017,7 +1017,7 @@ const style::RoundCheckbox &Voice::checkboxStyle() const {
|
||||
}
|
||||
|
||||
void Voice::updateName() {
|
||||
if (const auto forwarded = parent()->Get<HistoryMessageForwarded>()) {
|
||||
if (parent()->Has<HistoryMessageForwarded>()) {
|
||||
const auto info = parent()->originalHiddenSenderInfo();
|
||||
const auto name = info
|
||||
? tr::lng_forwarded(tr::now, lt_user, info->nameText().toString())
|
||||
|
||||
Reference in New Issue
Block a user