#1244 new enhancement

Jabber: only fetch room history since last received message

Reported by: cbay Owned by:
Priority: normal Milestone:
Component: Jabber Version: 3.4.1
Keywords: history Cc:
IRC client+version: Client-independent Operating System: Linux
OS version/distro: Linux Arch


When joining a MUC, BitlBee receives all messages from history from the server, which can typically be rather large (on my server, the last 200 messages are stored/sent). It pollutes my channel history, as messages are typically stored multiple times, rather than only once.

When joining a MUC, the client can ask the server to only send messages since a specific date:

Other XMPP clients typically ask the server to send messages since the last message they've received on this MUC.

I was willing to (try to) implement this feature on BitlBee, but I don't know where/how to store the date of the last received message on a MUC. Any suggestion?

Attachments (1)

history-since-last-message_3.4.1.patch (2.7 KB) - added by cbay at 2016-01-17T17:14:15Z.

Download all attachments as: .zip

Change History (2)

comment:1 Changed at 2016-01-17T17:14:47Z by anonymous

Here is a proof-of-concept patch, on top of 3.4.1. It works for me, although it's rather ugly (the last received message date is stored in a per-room file).

Modify Ticket

as new The ticket will remain with no owner.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.