mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 10:11:41 -05:00
Fixed extra space in a name of the post author after forwarding message.
This commit is contained in:
parent
9799afa064
commit
c2ad765424
1 changed files with 2 additions and 2 deletions
|
@ -4242,7 +4242,7 @@ void ApiWrap::forwardMessages(
|
||||||
? UserId(0)
|
? UserId(0)
|
||||||
: peerToUser(self->id);
|
: peerToUser(self->id);
|
||||||
const auto messagePostAuthor = channelPost
|
const auto messagePostAuthor = channelPost
|
||||||
? (self->firstName + ' ' + self->lastName)
|
? App::peerName(self)
|
||||||
: QString();
|
: QString();
|
||||||
history->addNewForwarded(
|
history->addNewForwarded(
|
||||||
newId.msg,
|
newId.msg,
|
||||||
|
@ -4323,7 +4323,7 @@ void ApiWrap::sendSharedContact(
|
||||||
}
|
}
|
||||||
const auto messageFromId = channelPost ? 0 : _session->userId();
|
const auto messageFromId = channelPost ? 0 : _session->userId();
|
||||||
const auto messagePostAuthor = channelPost
|
const auto messagePostAuthor = channelPost
|
||||||
? (_session->user()->firstName + ' ' + _session->user()->lastName)
|
? App::peerName(_session->user())
|
||||||
: QString();
|
: QString();
|
||||||
const auto vcard = QString();
|
const auto vcard = QString();
|
||||||
const auto views = 1;
|
const auto views = 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue