Skip to content

More mam fixes#2185

Merged
jubalh merged 4 commits into
masterfrom
fix/more-mam-fixes
Jul 4, 2026
Merged

More mam fixes#2185
jubalh merged 4 commits into
masterfrom
fix/more-mam-fixes

Conversation

@jubalh

@jubalh jubalh commented Jul 4, 2026

Copy link
Copy Markdown
Member

maniac mentioned `when I scroll like, 2 months backwards in time in the chat history, I can only scroll forwards in time a month.
So we found a bug in rsm pagination.
Also add a note how to report bugs if you don't have an GH account.
And last but not least a fix for the wrong display name.

jubalh added 4 commits July 4, 2026 14:34
The MAM result-set forward pagination logic in the RSM ID handler
incorrectly extracted the 'first' element from the result set and used
it as 'before', which caused paging to immediately terminate after the
first page of results. This changes the logic to use 'last' and 'after'
so that forward paging can proceed through all available pages on the
server.

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
The win_page_down function only triggered scrollback history queries from
the database when the window type was WIN_CHAT. This extends it to also
support WIN_MUC windows using mucwin_db_history.
So download scrolling works as well.

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
Not convinced it's a good idea. It will just put more load on us.
If people cannot fix the bug themselves they should at least take the
time to create an account to report them.

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
Fix our resource  displaying instead of our outgoing stamp when loading
locally logged MUC history.

This occurs because our client logs our outgoing MUC messages with our
real bare JID and resource.
For other participants (regardless of MUC anonymity), messages are always
logged with the room bare JID as the `from_jid` and their room nickname
as the resource.

Fixes: #2184
Signed-off-by: Michael Vetter <jubalh@iodoru.org>
@jubalh jubalh added this to the next milestone Jul 4, 2026
@jubalh jubalh self-assigned this Jul 4, 2026
@jubalh

jubalh commented Jul 4, 2026

Copy link
Copy Markdown
Member Author

Tested by maniac and vamp898

@jubalh jubalh merged commit f8f08a4 into master Jul 4, 2026
12 checks passed
@jubalh jubalh deleted the fix/more-mam-fixes branch July 4, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant