mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 21:51:34 +01:00
tdlib conversion logic bugfix
This commit is contained in:
parent
86401b19e8
commit
85bf695e10
@ -133,8 +133,8 @@ trait TD
|
||||
case 'choose_forward_info':
|
||||
if (isset($params['fwd_from'])) {
|
||||
$newparams[$td] = ['_' => 'messageForwardedFromUser'];
|
||||
if (DialogId::isSupergroupOrChannel($params['fwd_from']['channel_id'])) {
|
||||
$newparams[$td] = ['_' => 'messageForwardedPost', 'chat_id' => $params['fwd_from']['channel_id']];
|
||||
if (DialogId::isSupergroupOrChannel($params['fwd_from'])) {
|
||||
$newparams[$td] = ['_' => 'messageForwardedPost', 'chat_id' => $params['fwd_from']];
|
||||
}
|
||||
$newparams[$td]['date'] = $params['fwd_from']['date'];
|
||||
if (isset($params['fwd_from']['channel_post'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user