Skip to content

Wrong time stamps in messages (presumably) from MAM #1938

@mdosch

Description

@mdosch

When opening a MUC and receiving old messages (presumably from MAM) some messages showed the real time stamp, but some in between showed the current time stamp of the moment opening the chat.

_jLKZecbSUiictGeps-f3A

Expected Behavior

All messages should show the time stamp when the message was sent.

Current Behavior

Some messages show the time stamp from the moment the messages are received.

Steps to Reproduce (for bugs)

  1. Profanity is not connected
  2. Receive messages in a MUC you are participating in.
  3. Connect profanity.
  4. Compare time stamps of the fetched messages to the real time stamps (e.g. in another client).

Environment

  • Debian Testing (trixie)
profanity --version
Profanity, version 0.14.0dev.master.0e66cbe4
Copyright (C) 2012 - 2019 James Booth <boothj5web@gmail.com>.
Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org>.
License GPLv3+: GNU GPL version 3 or later <https://www.gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Build information:
XMPP library: libstrophe
Desktop notification support: Enabled
OTR support: Disabled
PGP support: Enabled (libgpgme 1.18.0)
OMEMO support: Enabled
C plugins: Enabled
Python plugins: Disabled
GTK icons/clipboard: Disabled
GDK Pixbuf: Enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions