Switch back to server-side copy for polls.
This commit is contained in:
parent
ddbca1bb16
commit
8072fe673e
@ -28293,9 +28293,6 @@ Result<MessagesManager::ForwardedMessages> MessagesManager::get_forwarded_messag
|
|||||||
|
|
||||||
bool is_broken_server_copy = [&] {
|
bool is_broken_server_copy = [&] {
|
||||||
switch (forwarded_message->content->get_type()) {
|
switch (forwarded_message->content->get_type()) {
|
||||||
case MessageContentType::Poll:
|
|
||||||
return get_message_content_poll_is_closed(td_, forwarded_message->content.get()) ||
|
|
||||||
td_->auth_manager_->is_bot();
|
|
||||||
case MessageContentType::Dice:
|
case MessageContentType::Dice:
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user