-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for message reply #20
Comments
@gkiagia Do you know why we have the "as used by the underlying protocol" text everywhere (starts from [1])? In Telegram we have "message tokens", that (after some upgrade two years ago) are not globally unique, but in the CM I want to concatenate channel and message IDs (tokens) to uniquely address them. |
Grepping about message-token lead me to some comments that suggested there were some pain points. No idea why the CM doesn't synthesize a unique token though. I found this in gabble • Following telepathy-spec 0.21.5, the message-token field in message headers And this in rakia NOTE: some existing clients logging messages, notably the one released |
An open question is how to let a client know that a channel supports replies? Add an |
Some protocols include the original message, so the incoming raw message content looks like this:
Is it a sane idea to split the message onto alternatives to let a Telepathy client to arbitrary format a reply message?
|
Agreed about the Ch.I.Reply and the message splitting definitely makes sense, but maybe you should be providing a full pre-formatted plain text version (like "body" in matrix) for clients that do not understand this splitting? I'm not sure how these alternatives are composed together in a dummy client. If it works, no problem. About the uniqueness of the message-token, I don't know the background. Making a unique token in the CM sounds reasonable to me and I don't see why not do it. |
Add a new message header keys:
The text was updated successfully, but these errors were encountered: