irungentoo / toxcore

The future of online communications.
https://tox.chat/
GNU General Public License v3.0
8.74k stars 1.27k forks source link

[feature request] Messages sent while the contact is offline arrive with the timestamp of arrival #1574

Open yurivict opened 8 years ago

yurivict commented 8 years ago

When both users aren't simultaneously online and there is a significant difference between sent and received times both times should be displayed on both ends. Currently toxcore doesn't provide such capability.

My original report to qTox: https://github.com/tux3/qTox/issues/3306

GrayHatter commented 8 years ago

Toxcore would need to handle and store offline messages, currently it does neither.

yurivict commented 8 years ago

Clients should store and supply the creation/sent time to toxcore then, and toxcore should provide received time.

isotoxin commented 8 years ago

Isotoxin already do it. But only with Isotoxin-Isotoxin connections. This can be done compatible in context of https://github.com/irungentoo/toxcore/issues/1519

yurivict commented 8 years ago

When the message is stored or transmitted it should always be accompanied by the metadata, similar to an http headers. This metadata could contain this "sent" time, also possibly the background color, and all sorts of other fields that the client can send to make messages more flexible and feature-rich.

SkyzohKey commented 8 years ago

If you're gonna implement more meta datas, please encrypt them.

aaannndddyyy commented 8 years ago

Needed feature. Current timestamps are useless in that situation.