Skip to content

Clear calls history in one click - #527

Merged
vkryl merged 19 commits into
TGX-Android:mainfrom
null-nick:feature/oneClickClearCallHistory
Aug 29, 2026
Merged

Clear calls history in one click#527
vkryl merged 19 commits into
TGX-Android:mainfrom
null-nick:feature/oneClickClearCallHistory

Conversation

@null-nick

@null-nick null-nick commented Jan 7, 2024

Copy link
Copy Markdown
Contributor

WIP

@vkryl
vkryl marked this pull request as draft January 7, 2024 20:25
@vkryl

vkryl commented Jan 7, 2024

Copy link
Copy Markdown
Member

I am not sure if it is WIP or not, but it clearly does not match description of #526. It just clears call log without any confirmation after holding Calls in drawer.

@vkryl vkryl closed this Jan 7, 2024
@null-nick

null-nick commented Jan 8, 2024

Copy link
Copy Markdown
Contributor Author

I am not sure if it is WIP or not, but it clearly does not match description of #526. It just clears call log without any confirmation after holding Calls in drawer.

Can you re-open the pr ? Or do I create a new pr for this feature?

@vkryl vkryl reopened this Jan 9, 2024
Cesarorq referenced this pull request in Cesarorq/lkmessenger-Android Jul 31, 2024
@null-nick

Copy link
Copy Markdown
Contributor Author

Ok Done

@null-nick
null-nick marked this pull request as ready for review March 13, 2025 00:07
@vkryl
vkryl force-pushed the main branch 3 times, most recently from fbec9a8 to 8bb1443 Compare December 21, 2025 23:57
japananimetime added a commit to japananimetime/Telegram-X that referenced this pull request Jan 17, 2026
Adds "Clear Recent Calls" button in Calls tab header menu.
Shows confirmation dialog with "Delete for Everyone" option.
Uses TDLib's DeleteAllCallMessages API.

Cherry-picked from PR TGX-Android#527 by null-nick.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Alikahrizzi

This comment was marked as spam.

@vkryl
vkryl force-pushed the main branch 2 times, most recently from d5a3b7a to 7735236 Compare August 17, 2026 22:13
Comment thread app/src/main/java/org/thunderdog/challegram/telegram/Tdlib.java Outdated
Comment thread app/src/main/java/org/thunderdog/challegram/telegram/TdlibUi.java Outdated
Comment thread app/src/main/res/values/strings.xml Outdated
Comment thread app/src/main/res/values/strings.xml Outdated
Comment thread app/src/main/res/values/strings.xml Outdated
Comment thread app/src/main/java/org/thunderdog/challegram/telegram/TdlibUi.java Outdated
Comment thread app/src/main/java/org/thunderdog/challegram/ui/CallListController.java Outdated
Comment thread app/src/main/java/org/thunderdog/challegram/ui/CallListController.java Outdated
Comment thread app/src/main/res/values/ids.xml Outdated
Comment thread app/src/main/res/values/ids.xml
- Use typedOkHandler instead of okHandler in Tdlib.clearCallsHistory
- SearchCallMessages query null instead of empty string
- Rename strings to DeleteCallHistory* naming, use markdown warning text
- Reuse more_btn_delete id instead of adding btn_clear_recent_calls
@null-nick
null-nick requested a review from vkryl August 25, 2026 09:46

@vkryl vkryl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ids.xml can be left unchanged

Comment thread app/src/main/res/values/ids.xml Outdated
null-nick and others added 2 commits August 25, 2026 22:47
Co-authored-by: vkryl <6242627+vkryl@users.noreply.github.com>
@vkryl
vkryl merged commit 1b2deb5 into TGX-Android:main Aug 29, 2026
vkryl added a commit that referenced this pull request Aug 29, 2026
@zarmamedia-227

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants