-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve history handling #97
Open
majn
wants to merge
17
commits into
vysheng:master
Choose a base branch
from
majn:dev-1.3.0
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add a new function for fetching history ranges between a max and a min id. This can come handy for fetching history deltas in supergroups on login when only the min_id is known.
Fix reported by @spaeps in majn/telegram-purple#238 Closes vysheng#42 I didn't actually do anything, except forward this patch.
The referenced target "gen-mime-types" was wrong anyway.
./auto-static-autocomplete.c:72:1: error: control reaches end of non-void function [-Werror=return-type]
dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer; |
32-bit runtime assert fix
make tgl work with openssl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allow fetching message history between max_id and min_id in a new api call. This is needed for fetching channel history when the amount of required amount of messages is unknown.
Additionally allow fetching more than 100 channel messages. I don't know why it was disabled in the first place, but I tested it thoroughly and the history function doesn't have any issue handling the channel return type CODE_messages_channel_messages.
A last change is to use less confusing naming in get_history_extra struct, offset_id is now actually called offset_id except of max_id.