Comments (3)
If I understand correctly, an empty body
violates the spec. The bridge is right for dropping messages with an empty body.
from telegram.
The spec says the body
key is required, but did not explicitly say it must be non-empty. In fact, some "required" fields in the spec are allowed to be empty strings.
from telegram.
It doesn't explicitly say so, but it pretty much implies it:
"The body key is text and MUST be used with every kind of msgtype as a fallback mechanism for when a client cannot render a message. This allows clients to display something even if it is just plain text."
There's nothing to display if body
is empty, I therefore conclude that the field must not be empty.
This should probably be clarified in the spec to be more obvious.
from telegram.
Related Issues (20)
- "Failed to join room" after restoring from backup HOT 3
- Telegrambot does not respond to invite - nothing in synapse logs, AS ping works HOT 1
- Support for spoiler images HOT 1
- Sending animated stickers (webp or gif) from matrix to telegram send a static image HOT 1
- Media uploads from Discord bridge are not uploaded over to Telegram HOT 1
- [FR] Story support
- Debug info in the fallback message HOT 1
- fully_read status not being sent to Telegram HOT 2
- Restrict automatic portal creation HOT 1
- new release supporting new Telegram quote style?
- mautrix-telegram cannot display some messages, but displays "This message is not supported on your version of Mautrix-Telegram. Please check https://github.com/mautrix/telegram or ask your bridge administrator about possible updates.". HOT 2
- login-qr retry issue HOT 1
- Extra new lines HOT 3
- Support code blocks HOT 1
- Telegraph support
- Bridge stuck - user not able to read event
- Bridge reactions from Telegram with bot accounts HOT 2
- Arbitrary as_token does not work
- Sync Telegram bot messages to matrix room HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegram.