Page MenuHomePhabricator

[alias-server] Use html parsing for tg msgs
AbandonedPublic

Authored by bytesofman on Mar 28 2023, 13:34.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

T3052

Depends on D13486

Escaping for markdown is more complicated than building HTML msgs. Switch to HTML parsing.

Add unit tests for building alias announcements with HTML. Include emojis related to size of alias.

Test Plan

npm test
npm run announce and see what the msg looks like in tg. Try for different length alias.
npm run alert and msg sends

Diff Detail

Repository
rABC Bitcoin ABC
Branch
process-only-unprocessed-txs
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22793
Build 45206: Build Diff
Build 45205: arc lint + arc unit