Telegram Foss uncensored #685
Open
Anglemmj7 wants to merge 106 commits intoTelegram-FOSS-Team:masterfrom
Open
Conversation
…FOSS-Team#436) Error when using newer version of ffmpeg: Upon further investigation, this error comes from newer versions of FFmpeg [1] as the packet read callback's expected return value on EOF has been changed. This commit fixes the issue by updating the packet read callback used to play videos with FFmpeg to return AVERROR_EOF on EOF instead of 0 as seen in mpv [2]. [1] https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=a606f27f4c610708fa96e35eed7b7537d3d8f712 [2] mpv-player/mpv@e9dc4ac
I guess upstream did the same and forgot to document. isom.h is included in a form patched to stop annoying the compiler, dv.h in the original form
This patch adds the ability for Telegram to parse locations from send intents containing a geo:<lat>,<lon>,<zoom> string. This is done by various map applications, including the popular OSMAnd and Orux maps. This patch enables the user to share the position of a POI or destination with Telegram and have it send as a location.
# Conflicts: # .gitmodules # Changelog.md # README.md # TMessagesProj/jni/boringssl # TMessagesProj/jni/build_boringssl.sh # TMessagesProj/jni/build_ffmpeg_clang.sh # TMessagesProj/jni/ffmpeg # TMessagesProj/jni/patch_ffmpeg.sh # TMessagesProj/jni/patches/boringssl/0001-add-aes-ige-mode.patch # TMessagesProj/jni/patches/boringssl/0001-only-build-what-we-need.patch # TMessagesProj/src/main/java/org/telegram/messenger/ApplicationLoader.java # TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java # TMessagesProj/src/main/java/org/telegram/tgnet/ConnectionsManager.java # TMessagesProj/src/main/java/org/telegram/ui/CameraScanActivity.java # TMessagesProj/src/main/java/org/telegram/ui/PhotoViewer.java # build.gradle # metadata/pl/description.txt
# Conflicts: # TMessagesProj/jni/build_ffmpeg_clang.sh
This file contains hidden or 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
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.
1P8kNcifVAkBWtWmjKY4RvVLy5QwruE2LQTelegram-FOSS
Telegram is a messaging app with a focus on speed and security. It’s superfast, simple and free.
This is an unofficial, FOSS-friendly fork of the original Telegram App for Android.
This version of Telegram is available on FDroid:
Current Maintainers
Contributors
Discussion
Join the Telegram-FOSS Offtopics group
You can also join
#telegram-foss:matrix.orgvia matrix or#telegram-fosson freenode.Changes:
Replacement of non-FOSS, untrustworthy or suspicious binaries or source code:
Removal of non-FOSS, untrustworthy or suspicious binaries or source code and their functionality:
Other:
geo:<lat>,<lon>,<zoom>stringVersioning
This repository contains tags to make tracking versions easier.
Versions are in form "v$UPSTREAM$RELEASE" where:
API, Protocol documentation
Telegram API manuals: https://core.telegram.org/api
MTproto protocol manuals: https://core.telegram.org/mtproto
Building
NOTE: Building on Windows is, unfortunately, not supported.

Consider using a Linux VM or dual booting.
Important:
You need the Android NDK, Go(Golang) and Ninja to build the apk.
Don't forget to include the submodules when you clone:
git clone --recursive https://github.com/Telegram-FOSS-Team/Telegram-FOSS.gitBuild native FFmpeg and BoringSSL dependencies:
TMessagesProj/jnifolder and execute the following (define the paths to your NDK and Ninja):If you want to publish a modified version of Telegram:
API_KEYSin the source root directory.The contents should look like this:
The project can be built with Android Studio or from the command line with gradle:
./gradlew assembleAfatReleaseDIGITAL RESISTANCE