1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 08:14:39 +01:00
Commit Graph

2910 Commits

Author SHA1 Message Date
0a5b197d47 Do not recreate keys if session is revoked 2021-12-14 01:07:43 +01:00
12363911d9 Avoid issues while reconnecting 2021-12-14 00:00:41 +01:00
ba6c3850a5
Remove MTProto v1 leftovers 2021-12-13 20:45:25 +01:00
efe15feabc
Unlock in Magic.php 2021-12-13 18:04:47 +01:00
57cb317bc3
Explicitly unlock on process shutdown 2021-12-13 18:00:56 +01:00
d0fdbbf0b7
Reconnect upon auth errors 2021-12-13 17:23:26 +01:00
Lukas Pierce
a6a9aeb60b
Add 'video' boolean to phone call storage (#1077)
* Update UpdateHandler.php

Instead passing empty array as reason pass `['_' => 'phoneCallDiscardReasonDisconnect']` in case the reason is not present

By according documentation the reason is optional:
https://core.telegram.org/constructor/phoneCallDiscarded

* Update UpdateHandler.php

* Add 'video' boolean to phone call storage

Event handler should detect is incoming call video or voice

* remove coment
2021-12-13 17:14:29 +01:00
cbb2819d6d
Test phar.php 2021-12-13 15:52:08 +01:00
ef5cf08664 Fix typo 2021-12-13 15:35:55 +01:00
a1bb3176aa Get rid of legacy req_pq 2021-12-13 15:29:39 +01:00
840a8113fd Avoid updating settings every time 2021-12-13 15:11:40 +01:00
32ebcaaca0 Fix syntax 2021-12-13 15:01:50 +01:00
dffc8eeaa4 Improve phar installer 2021-12-13 14:55:50 +01:00
c52f0578df Small fix 2021-12-13 14:27:00 +01:00
df03038f15 Improve factorization 2021-12-13 14:07:27 +01:00
4b459d083c Flush phar contents 2021-12-12 20:12:53 +01:00
bb9410a1b2 Termux improvement 2021-12-12 16:23:28 +01:00
Github Actions
62eedfb3f0 Avoid php incompatibilities 2021-12-12 15:17:55 +01:00
8f2800f011 php 8.1 fix 2021-12-12 14:39:55 +01:00
Wsudo
2d96b6e0b4
Add examples to config madelineproto databases by WSudo (#1070)
* add mysql database config example file

* add redis database config example file

* add postgres database config example file

* add memory database config example file

* finish add database-config-examples by Wsudo
2021-12-12 00:20:42 +01:00
cb7399b24c
Final pre-release fixes 2021-12-10 20:06:29 +01:00
94515bd0c3
Re-download phar if it was deleted 2021-12-10 19:39:38 +01:00
67688e6260
Fix typo 2021-12-10 19:15:28 +01:00
73f3700e27
Further build improvements 2021-12-10 19:10:44 +01:00
81c32f1fd6
Finally fix build 2021-12-10 19:02:40 +01:00
261c9e866c
Improve build process 2021-12-10 18:53:19 +01:00
b73e90909c
More improvements 2021-12-10 18:41:52 +01:00
f9bf0def66
Improve build process 2021-12-10 18:32:21 +01:00
e07a521501
Add sponsored message API 2021-12-10 18:20:14 +01:00
37efcdfc7a
Improve MadelineProtoPhar self-updater 2021-12-10 17:50:57 +01:00
20df938a1e Small fix 2021-12-09 18:22:59 +01:00
b48384282b
Release 7.0 2021-12-09 15:09:56 +01:00
89727d70d6
Build on 8.1 2021-12-09 13:49:57 +01:00
06b6d971dd
Update docs 2021-12-09 13:33:44 +01:00
2c90b1d96b
New event handler startAndLoop API 2021-12-09 13:25:14 +01:00
5fc3f54ed0 BC fix 2021-12-09 12:02:18 +01:00
901422353b Fix UTF8 2021-12-08 22:47:55 +01:00
80839aceab
Update to new RSA-OAEP 2021-12-08 20:40:38 +01:00
aa0257f166 Joomla & php 8.1 fixes 2021-12-08 12:33:25 +01:00
a774495ea6
Improve locking 2021-12-07 20:59:53 +01:00
6096734589
Flock before acting on shared repository 2021-12-07 20:09:41 +01:00
57e192fb72
Fix tests 2021-12-07 19:55:44 +01:00
0a01559243
Small fix 2021-12-07 18:27:07 +01:00
26d67be358
Small fix 2021-12-07 18:06:55 +01:00
8fd999c6fd
Fixes 2021-12-07 17:16:15 +01:00
0facd404ec
Avoid errors if rpc.pwrtelegram.xyz is down 2021-12-07 16:10:48 +01:00
395fa7772f
Increase version 2021-12-07 15:47:46 +01:00
cdb6411009
Handle PTS exceptions by exiting update loop 2021-12-07 15:29:55 +01:00
70b2850a04
Avoid race condition 2021-12-07 15:16:15 +01:00
2a7aff605f Hotfix 2021-12-07 00:05:25 +01:00