GithubHelp home page GithubHelp logo

Comments (7)

delivrance avatar delivrance commented on May 8, 2024 1

This is normal behaviour for big supergroups, in the sense that the server can decide to send just a minified version (user.min == True, access_hash not available) to save resources.

In order to "fix" this, clients should implement a mechanism for handling these special channel updates. In more details, pyrogram must make a call to updates.GetChannelDifference with proper arguments somewhere down in the updates_worker code to extract the full version of that particular Update.

from pyrogram.

Teriks avatar Teriks commented on May 8, 2024

Ah I understand, thanks for the info

from pyrogram.

delivrance avatar delivrance commented on May 8, 2024

Hi, I've pushed some changes to the min branch. Care to test it and report back? To install the branch version you can simply use pip3 install --upgrade git+https://github.com/pyrogram/pyrogram.git@min

from pyrogram.

Teriks avatar Teriks commented on May 8, 2024

I'm currently waiting out a 16 hour login flood-wait I accidentally encountered debugging 😀

I tested this change a little bit on https://github.com/EriHoss/TGMiner/tree/pyrogram

I did not notice any absent info in the User entity immediately or other problems.

I'll wait until I can get back in and my supergroups have more chat volume to confirm with a longer test.

from pyrogram.

delivrance avatar delivrance commented on May 8, 2024

Alright, I did some tests myself as well and it's behaving rather good.

from pyrogram.

Teriks avatar Teriks commented on May 8, 2024

I've been running this change for about 5 hours now and have not been able to spot anyone in my groups with missing info in the logs.

from pyrogram.

delivrance avatar delivrance commented on May 8, 2024

Merging ^^ Thanks.

from pyrogram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.