-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
Add basic MAM support #1306
Merged
Merged
Add basic MAM support #1306
Commits on Apr 11, 2020
-
Send a request (which we can't handle yet) :-) Regards #660
Configuration menu - View commit details
-
Copy full SHA for fe9b520 - Browse repository at this point
Copy the full SHA fe9b520View commit details -
Don't crash if we get a message without from or type
MAM messages don't have a type nor a from. If we detect a message without type let's log it and exit without continuing to try to parse it. Otherwise we go into _handle_chat() and crash on the no from.
Configuration menu - View commit details
-
Copy full SHA for e878b6d - Browse repository at this point
Copy the full SHA e878b6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3b8cc4 - Browse repository at this point
Copy the full SHA f3b8cc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38273fe - Browse repository at this point
Copy the full SHA 38273feView commit details -
Configuration menu - View commit details
-
Copy full SHA for e23bc38 - Browse repository at this point
Copy the full SHA e23bc38View commit details -
Add to_jid field to ProfMessage struct
Is usefult in many cases if we want cleaner code. Hope this edit didn't break anything though ;-)
Configuration menu - View commit details
-
Copy full SHA for 180ec2b - Browse repository at this point
Copy the full SHA 180ec2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd566d8 - Browse repository at this point
Copy the full SHA dd566d8View commit details -
Later we will have several options. Getting everything since last timestamp (if none everything at all). Getting everything since today + configure time (1 week). Should also have a reload all command like conversations once you cleared the history. All MAM messages should be written into sql db. And then probably displayed from there so that regular history works too.
Configuration menu - View commit details
-
Copy full SHA for aedecee - Browse repository at this point
Copy the full SHA aedeceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98200eb - Browse repository at this point
Copy the full SHA 98200ebView commit details -
Add hidden MAM setting and trigger MAM retrievel when opening new window
Only when we start the conversation. Not yet when we get messaged and a new window is opened. Need to have sorting of messages in the window buffer then, I guess. Also MAM IQ should only be send one time in such a case. If MAM is enabled history from sql backend will not be shown. `mam` in profrc enables experimental MAM. Can change soon again. Don't rely on stuff in this stage ;)
Configuration menu - View commit details
-
Copy full SHA for 5151849 - Browse repository at this point
Copy the full SHA 5151849View commit details
Commits on Apr 13, 2020
-
g_date_time_add_days() actually creates a new one.
Configuration menu - View commit details
-
Copy full SHA for 18c64c0 - Browse repository at this point
Copy the full SHA 18c64c0View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.