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 Jul 7, 2024
1 parent 93871eb commit 717f4bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4847,7 +4847,7 @@ private void updateMessageText(AbstractMap<Long, TLRPC.User> users, AbstractMap<
} else if (getMedia(messageOwner) instanceof TLRPC.TL_messageMediaInvoice) {
messageText = getMedia(messageOwner).description;
} else if (getMedia(messageOwner) instanceof TLRPC.TL_messageMediaUnsupported) {
messageText = LocaleController.getString(R.string.UnsupportedMedia2);
messageText = LocaleController.getString(R.string.UnsupportedMedia2).replace("Please update to the latest version.","Please update to the latest version, if available. https://github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/master/Update.md");
} else if (getMedia(messageOwner) instanceof TLRPC.TL_messageMediaDocument) {
if (isSticker() || isAnimatedStickerDocument(getDocument(), true)) {
String sch = getStickerChar();
Expand Down
6 changes: 6 additions & 0 deletions Update.md
Original file line number Diff line number Diff line change
@@ -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 717f4bc

Please sign in to comment.