diff options
author | MarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com> | 2022-07-05 00:06:04 +0300 |
---|---|---|
committer | MarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com> | 2022-07-05 00:06:04 +0300 |
commit | 6429698f18b8b1fe3f8252402104c9701e62b620 (patch) | |
tree | fa9f8733fa8fb2d29a8aa7ccf703673c376466f7 /src/xmpp/stanza.h | |
parent | e9da69426527c242c72f88e74f82724c0ea20c39 (diff) | |
download | profani-tty-6429698f18b8b1fe3f8252402104c9701e62b620.tar.gz |
Fix initial MAM not displaying
Did this by waiting for a batch of MAM messages to arrive before prepending them to the buffer. Also limited the number of messages to fetch to 10 so that the user gets more frequent updates.
Diffstat (limited to 'src/xmpp/stanza.h')
-rw-r--r-- | src/xmpp/stanza.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/stanza.h b/src/xmpp/stanza.h index 71454e9d..4d41ef87 100644 --- a/src/xmpp/stanza.h +++ b/src/xmpp/stanza.h @@ -118,6 +118,7 @@ #define STANZA_NAME_FIRST "first" #define STANZA_NAME_AFTER "after" #define STANZA_NAME_BEFORE "before" +#define STANZA_NAME_MAX "max" #define STANZA_NAME_USERNAME "username" #define STANZA_NAME_PROPOSE "propose" #define STANZA_NAME_REPORT "report" |