weechat-matrix icon indicating copy to clipboard operation
weechat-matrix copied to clipboard

troubles downloading old backlog

Open Soundtoxin opened this issue 5 years ago • 2 comments

  1. is there a way to scroll back as far as possible in one go instead of holding pgup?
  2. is there a limit to how far up I can go for some reason? I've tried in several channels and they seem to stop at different arbitrary points. I would like to get my logs all stored locally so they can be searched quickly. The Riot search has always been terrible and slow, so it would be very valuable to me to be able to grep for things quickly going back several months.

Soundtoxin avatar Jun 08 '20 09:06 Soundtoxin

  1. No, you might modify https://github.com/poljar/weechat-matrix/pull/130 to suit your needs.
  2. I think it's a bit undefined as to what will happen when you try fetching more lines than weechat.history.max_buffer_lines_number. I think some messages just disappear from the buffer, though not sure in what order they disappear.

True pagination like Riot has is a bit hard to implement in Weechat, we should just limit the amount of lines we can fetch to weechat.history.max_buffer_lines_number.

To solve the search we should integrate Seshat in the Rust rewrite.

poljar avatar Jun 08 '20 17:06 poljar

My value for weechat.history.max_buffer_lines_number is 4096. I seem to stop at 200-300 for most rooms (based on the number next to -MORE(#)- in the bar), one of them won't go back further than 50 lines for some reason.

Soundtoxin avatar Jun 08 '20 17:06 Soundtoxin