feat(telegram): capture shared locations and venues #34
No reviewers
Labels
No labels
in-review
ready-for-agent
ready-for-human
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
weiwen/evie!34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "sandcastle/issue-23"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds handling for Telegram location and venue messages in
extract_message_content(src/telegram/mod.rs).What changed:
.venue()and.location()on venue messages — checking venue first yields the richer title + address representation.[Location: lat, lon].[Location: title, address (lat, lon)].Update::filter_messageand are handled as bare locations; subsequent live-update edits come asEditedMessageevents which the handler ignores — this is noted in a comment.Key decisions:
None) since locations carry no attachments.What to review:
[Location: …]is the right representation for downstream consumers (RALPH, etc.).Closes #23
Rebase onto main
CI was failing because
pi.rsuses#[tokio::test(start_paused = true)](for time-control tests), which requires thetokio/test-utilfeature — not included infull. Fixed by addingtokio = { version = "1", features = ["test-util"] }to[dev-dependencies]inCargo.toml.99f0e42e826740ec4e3c