1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 06:18:58 +01:00

Merge branch 'v8' into v8-tas

This commit is contained in:
Alexander Pankratov 2024-09-27 20:50:22 +02:00
commit 5939f0dcd3
2 changed files with 11 additions and 2 deletions

View File

@ -749,7 +749,7 @@
<code><![CDATA[$this->getClient()->methodCallAsyncRead(
'messages.setTyping',
[
'peer' => $this->senderId,
'peer' => $this->chatId,
'top_msg_id' => $this->topicId,
'action' => $action,
],
@ -3337,6 +3337,11 @@
<code><![CDATA[\is_int($dc_id)]]></code>
<code><![CDATA[isset($this->datacenter)]]></code>
</RedundantConditionGivenDocblockType>
<UndefinedFunction>
<code><![CDATA[memprof_dump_pprof($file)]]></code>
<code><![CDATA[memprof_enabled()]]></code>
<code><![CDATA[memprof_enabled()]]></code>
</UndefinedFunction>
<UnsupportedReferenceUsage>
<code><![CDATA[Lang::$current_lang =& Lang::$lang[$this->settings->getAppInfo()->getLangCode()]]]></code>
</UnsupportedReferenceUsage>
@ -4389,6 +4394,8 @@
<code><![CDATA[$this->pendingDb]]></code>
</InvalidPropertyAssignmentValue>
<MixedArgument>
<code><![CDATA[$bot_api_id]]></code>
<code><![CDATA[$bot_api_id]]></code>
<code><![CDATA[$bot_api_id]]></code>
<code><![CDATA[$bot_api_id]]></code>
<code><![CDATA[$chat['id']]]></code>
@ -4414,6 +4421,7 @@
<code><![CDATA[($this->API->methodCallAsyncRead('contacts.resolveUsername', ['username' => $username]))['peer']]]></code>
</MixedArrayAccess>
<MixedArrayOffset>
<code><![CDATA[$this->db[$bot_api_id]]]></code>
<code><![CDATA[$this->db[$bot_api_id]]]></code>
<code><![CDATA[$this->db[$chat['id']]]]></code>
<code><![CDATA[$this->db[$chat['id']]]]></code>
@ -4475,6 +4483,7 @@
<code><![CDATA[(int) $result]]></code>
</RedundantCastGivenDocblockType>
<RedundantConditionGivenDocblockType>
<code><![CDATA[$id !== null]]></code>
<code><![CDATA[$result !== null]]></code>
<code><![CDATA[$result !== null]]></code>
<code><![CDATA[(int) $result]]></code>

View File

@ -867,7 +867,7 @@ abstract class AbstractMessage extends Update implements SimpleFilters
return $this->getClient()->methodCallAsyncRead(
'messages.setTyping',
[
'peer' => $this->senderId,
'peer' => $this->chatId,
'top_msg_id' => $this->topicId,
'action' => $action,
],