Skip to content

Patches disabling some anti-features of Telegram Desktop: sponsored messages, saving restrictions and other.

License

Notifications You must be signed in to change notification settings

1sixth/telegram-desktop-patches

 
 

Repository files navigation

telegram-desktop-patches

Patches disabling some anti-features of Telegram Desktop.

Installation

Building requires ⪝48 GB of RAM. Use zram, if you are lacking.

Arch Linux

makepkg -si

Or if you want to regenerate PKGBUILD for current patches in the directory (don't use spaces in patch filenames):

make

You may also install a prebuilt package published in releases.

Nix

May be unmaintained.

TODO: generate overrides and flake automatically.

Other systems

Download source code of Telegram Desktop and run commands from prepare(), build() and package() in PKGBUILD manually.

Patches

0001-Disable-sponsored-messages.patch

0002-Disable-saving-restrictions.patch

Enables saving media, selecting and copying messages in channels, which disallow doing so.

0003-Disable-invite-peeking-restrictions.patch

Disables restrictions for viewing and exporting private chats and channels you didn't join but are able to view.

0004-Disable-accounts-limit.patch

0005-Option-to-disable-stories.patch

Toggle is in experimental settings.

Contributing

Feel free to contibute patches and means of packaging and installation.

Updating

If you want to update PKGBUILD, make changes in PKGBUILD.m4 instead and generate PKGBUILD with make.

See PKGBUILD.m4 for update instructions.

See also

Killergram - Xposed module featuring some patches with similar functionality for Telegram for Android.

Credits

telegram-desktop-no-ads-pkgbuild

About

Patches disabling some anti-features of Telegram Desktop: sponsored messages, saving restrictions and other.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 52.8%
  • M4 45.6%
  • Makefile 1.6%