• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

popstas / telegram-mention-resender
85%

Build:
DEFAULT BRANCH: main
Repo Added 27 Jul 2025 12:03PM UTC
Files 15
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • codex/add-command-to-generate-evals
  • codex/add-config-option-to-generate_evals.py
  • codex/add-folder_add_topic-to-config
  • codex/add-folder_mute-boolean-to-instance
  • codex/add-get_message_source-function
  • codex/add-ignore_user_ids-feature
  • codex/add-listener-for-negative-reactions
  • codex/add-negative_words-to-instance
  • codex/add-noforwardmessage-instance-property
  • codex/add-openai-api-key-and-model-config
  • codex/add-process_message-function-and-tracking
  • codex/add-run_deepeval-command
  • codex/add-target_entity-to-instance
  • codex/add-test-fixtures-and-refactor-tests
  • codex/add-tests-and-github-workflow-for-testing
  • codex/add-true_positive_entity-support
  • codex/add-username-to-chat-when-defined
  • codex/change-stats.json-format-and-add-conversion-function
  • codex/clean-up-imports-in-test-files
  • codex/create-agents.md-for-codebase-explanation
  • codex/create-new-test-files-and-update-imports
  • codex/create-run_openai_evals.py-and-modify-generate-test.yml
  • codex/expand-config-schema-with-ignore_words
  • codex/extend-evaluateresult-with-main_fragment
  • codex/extend-prompt-config-format-and-add-functions
  • codex/extend-run_deepeval.py-with-new-features
  • codex/fix-deepeval_run.py-and-update-tests
  • codex/fix-stats.json-functionality
  • codex/fix-tests-for-prompt-format-change
  • codex/fix-tests-without-code-changes
  • codex/implement-get_folders_chat_ids-functionality
  • codex/improve-prompt-evaluation-functionality
  • codex/improve-test-coverage
  • codex/improve-test-coverage-for-get_entity_name-and-resolve_entiti
  • codex/increment-tokens-in-all-scopes
  • codex/integrate-langfuse-prompts-in-code
  • codex/link-telegram-message_id-with-trace_id
  • codex/make-config-global-and-reload-in-rescan_loop
  • codex/refactor-codebase-into-module-structure
  • codex/refactor-trace_ids.json-structure
  • codex/store-forwarding-states-in-memory
  • codex/update-evaluateresult-and-build_prompt-schema
  • codex/update-get_forward_message_text-format
  • main
  • o1cf9b-codex/improve-test-coverage
  • target-webhook-support
  • x2ohod-codex/integrate-langfuse-into-project
  • y1iovj-codex/add-openai-api-key-and-model-config

18 May 2026 10:20AM UTC coverage: 84.597% (+0.03%) from 84.567%
26027585859

push

github

popstas
fix(app): await get_sender for ignore_usernames

Telethon lazy-loads event.message.sender, so for the session owner's own messages (and any case where the sender entity isn't cached) it was None when the NewMessage handler read it. That made username None, the ignore_usernames / ignore_usernames_override guard fell through, and the message was forwarded anyway.

Force-resolve via await event.get_sender() before reading username/id, with a fallback to the attribute on errors (anonymous admins, deleted users). Add a debug log when an ignore list is set but no username could be resolved.

Regression test exercises the lazy path: sender=None plus async get_sender() returning the matching username — previously slipped through, now blocked.

1082 of 1279 relevant lines covered (84.6%)

0.85 hits per line

Relevant lines Covered
Build:
Build:
1279 RELEVANT LINES 1082 COVERED LINES
0.85 HITS PER LINE
Source Files on main
  • Tree
  • List 15
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26027585859 main fix(app): await get_sender for ignore_usernames Telethon lazy-loads event.message.sender, so for the session owner's own messages (and any case where the sender entity isn't cached) it was None when the NewMessage handler read it. That made usern... push 18 May 2026 10:21AM UTC popstas github
84.6
25960162294 main feat(config): add ignore_usernames_override per instance When defined on an instance (even as an empty list), this option overrides the global ignore_usernames for that instance only. Missing key inherits the global list. The filter now runs in... push 16 May 2026 10:57AM UTC popstas github
84.57
25902479782 main feat: add target_webhook delivery for matched messages (#53) * add plan: target-webhook-support * feat: extend config schema for target_webhook Add TargetWebhook dataclass with url and format fields, expose target_webhook on Instance, parse it ... push 15 May 2026 05:44AM UTC web-flow github
84.52
25902382294 target-webhook-support Merge c5cfd52f1 into f13e2e0e6 Pull #53 15 May 2026 05:41AM UTC web-flow github
84.52
25885656355 target-webhook-support Merge 31d72a7b3 into f13e2e0e6 Pull #53 14 May 2026 09:05PM UTC web-flow github
84.63
17910061972 codex/add-username-to-chat-when-defined Merge 4f669a0e1 into daf907d0f Pull #52 22 Sep 2025 08:57AM UTC web-flow github
85.64
17860274846 codex/add-username-to-chat-when-defined Merge 34aee639a into daf907d0f Pull #52 19 Sep 2025 01:51PM UTC web-flow github
85.7
17857225911 codex/add-folder_add_topic-to-config Merge d05d334d2 into 44f6ffa3c Pull #51 19 Sep 2025 11:39AM UTC web-flow github
86.11
17856976098 codex/add-folder_add_topic-to-config Merge ce6663129 into 44f6ffa3c Pull #51 19 Sep 2025 11:27AM UTC web-flow github
86.09
17856744704 codex/add-folder_add_topic-to-config Merge 15f699688 into 44f6ffa3c Pull #51 19 Sep 2025 11:17AM UTC web-flow github
86.07
See All Builds (116)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc