-
-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MUC MAM #1862
base: master
Are you sure you want to change the base?
MUC MAM #1862
Conversation
TODO split this commit later and see if all its changes are needed See profanity-im#660
Show correct timestamp for mentions and triggers (it used to show current timestamp instead of the message's one), and flip commands when displaying history. See profanity-im#660
I'm not sure I understand correctly. But: I think MAM only needs to be fetched for MUCs that are currently joined? Windows are only open for currently joined MUCs. |
I remember that chatwins are created/opened when the other party sends a message. I was thinking that maybe that was also happening for MUCs and so I would have to handle MAM in the case that the user is not the one that opens a mucwin by |
Disable muc history when MAM is enabled see profanity-im#660
b591923
to
40a0b99
Compare
@MarcoPolo-PasTonMolo, do you want help with this? |
This commit should not go into production, its all testing, might or might not work. Mapped pagedown to cause a disconnect so I could easily test MAM on reconnect.
Yes please. I don't have time to work on this. My code can be pretty garbage at times especially in iq.c so if you have any questions ask me. I think I would respond quicker in xmpp so Ill tag you there. If I remember correctly MAM for MUCs is pretty much done. I had started implementing MAM for when a user gets reconnected but hit a few road blocks like how do I prevent new messages, that arrive while fetching mam after a reconnect, from getting jumbled up with the old ones from MAM. Or how do I load the actual MAM messages while also giving some feedback to the user so he doesn't think that the ui is stuck (like use pagination and fetch 10 messages at a time etc) I mapped pagedown to trigger a disconnect so that testing is easier with a Here's what I had written down as TODO == Reconnect mam ==
= MUC MAM =
|
Thanks for your work and the summary @MarcoPolo-PasTonMolo !! |
@ike08 @MarcoPolo-PasTonMolo slowly I have more free time to work on profanity again :) I was curious whether the same is true for one of you guys and whether you are still interested in implementing this feature. Cheers! |
Not much time sorry |
MUC MAM
See #660
How to test the functionality
I ran valgrind when using my new feature
no
TODO