You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to make a client work with a custom telegram server for research purposes.
I stumbled upon this client, which seems to provide everything I need (secret chats, basically), but the issue is that it looks like IP addresses and public key(s) of the servers are hard-coded. Is it really the case, or have I missed something in the documentation?
I've also attempted to modify the source to use my local server. In particular, I modified the following files:
MTProto.php
Modified RSA_KEYS with my server's public key
Modified dclist to point to my server and port
DataCenter.php
Modified the foreach at line 480 to use my server, instead of the default X.web.telegram.web
Unfortunately, this doesn't appear to be enough, as all requests appear to be going to Telegram servers (149.154.167.99). I've either missed something, or composer is doing some magic behind the scenes and caching the unmodified code somewhere.
Could someone please help me? Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
I'm currently trying to make a client work with a custom telegram server for research purposes.
I stumbled upon this client, which seems to provide everything I need (secret chats, basically), but the issue is that it looks like IP addresses and public key(s) of the servers are hard-coded. Is it really the case, or have I missed something in the documentation?
I've also attempted to modify the source to use my local server. In particular, I modified the following files:
RSA_KEYS
with my server's public keydclist
to point to my server and port480
to use my server, instead of the defaultX.web.telegram.web
Unfortunately, this doesn't appear to be enough, as all requests appear to be going to Telegram servers (149.154.167.99). I've either missed something, or
composer
is doing some magic behind the scenes and caching the unmodified code somewhere.Could someone please help me? Thanks!
The text was updated successfully, but these errors were encountered: