mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Fix minimal width of message bubble with comments.
This commit is contained in:
@@ -751,7 +751,14 @@ bool PeerData::isBroadcast() const {
|
||||
}
|
||||
|
||||
bool PeerData::isRepliesChat() const {
|
||||
return (id == peerFromUser(708513));
|
||||
constexpr auto kProductionId = peerFromUser(1271266957);
|
||||
constexpr auto kTestId = peerFromUser(708513);
|
||||
if (id != kTestId && id != kProductionId) {
|
||||
return false;
|
||||
}
|
||||
return ((session().mtp().environment() == MTP::Environment::Production)
|
||||
? kProductionId
|
||||
: kTestId) == id;
|
||||
}
|
||||
|
||||
bool PeerData::canWrite() const {
|
||||
|
Reference in New Issue
Block a user