Skip to content

Commit

Permalink
[TF][BRAND] Do not send to Google Play for update
Browse files Browse the repository at this point in the history
  • Loading branch information
thermatk committed Aug 16, 2020
1 parent 9c9e22b commit 746790f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Expand Up @@ -2587,7 +2587,7 @@ private void updateMessageText(AbstractMap<Integer, TLRPC.User> users, AbstractM
} else if (messageOwner.media instanceof TLRPC.TL_messageMediaInvoice) {
messageText = messageOwner.media.description;
} else if (messageOwner.media instanceof TLRPC.TL_messageMediaUnsupported) {
messageText = LocaleController.getString("UnsupportedMedia", R.string.UnsupportedMedia);
messageText = LocaleController.getString("UnsupportedMedia", R.string.UnsupportedMedia).replace("https://telegram.org/update","https://github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/master/Update.md");
} else if (messageOwner.media instanceof TLRPC.TL_messageMediaDocument) {
if (isSticker() || isAnimatedStickerDocument(getDocument(), true)) {
String sch = getStickerChar();
Expand Down
6 changes: 6 additions & 0 deletions Update.md
@@ -0,0 +1,6 @@
# Updates
In case there is an update to the newest version which is not published here or on F-Droid yet, either:
- [Upstream](https://github.com/DrKLO/Telegram) didn't release the source code.
- Find a way to annoy them on Github, [official Twitter](https://twitter.com/telegram), [Durov's Twitter](https://twitter.com/durov), etc until they do.
- The source code was released, but not yet merged here.
- This will inevitably happen, but maybe you can help!

0 comments on commit 746790f

Please sign in to comment.