- 20 Jun, 2019 3 commits
-
-
JC Brand authored
I'm not sure how much this is an issue outside of tests, where we might run into race conditions arising to the fact that we don't always respond to every IQ stanza
-
JC Brand authored
-
Nÿco authored
"- Properly handle message correction being received before the corrected message" was there twice
-
- 19 Jun, 2019 7 commits
-
-
Chaimaa ZEGOUMOU authored
-
JC Brand authored
- Fixes #1575. Height not properly set on MUC invitation list - Add new configuration setting: `muc_mention_autocomplete_min_chars` - Bugfix. `min_chars` setting for MUC mentions wasn't having an effect
-
JC Brand authored
Unfortunately this doesn't work on Firefox and there's no proper workaround. https://github.com/philipwalton/flexbugs/issues/108 Reverts: Revert "Bugfix. Properly insert error messages and spinner" This reverts commit 6a419cc1. Revert "Use flexbox to keep the chat scrolled down" This reverts commit dd91d3cc.
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
when the textarea contains an unsent message
-
- 18 Jun, 2019 8 commits
-
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
now that messages appear in reverse order due to flexbox
-
JC Brand authored
-
JC Brand authored
By using `display: flex` and `flex-direction: column-reverse`, the chat now automatically scrolls down when loaded, without requiring any extra JavaScript. We still need to scroll down with JavaScript when sending a message. By using `column-reverse`, the messages container now works in reverse. So the newest message is the first element in the container and the oldest message is the last. This is the reverse of before. Due to this, this change will likely break some plugins.
-
- 17 Jun, 2019 3 commits
-
-
JC Brand authored
It gets populated again upon MUC reflection or chat marker
-
JC Brand authored
-
JC Brand authored
Up and down arrows only serve as message correction shortcuts if the textarea is empty. This means that: - Up arrow doesn't start correction of previous message if we're currently writing a message - Down arrow doesn't erase currently written message This is based on user-feedback and is also how Slack handles these shortcuts.
-
- 16 Jun, 2019 3 commits
- 14 Jun, 2019 5 commits
-
-
JC Brand authored
For some reason the latter causes extreme lag when switching rooms
-
Nÿco authored
Removed one occurrence
-
JC Brand authored
When reconnecting with a new transport, we call setUserJID so that a new resource is generated, to avoid multiple server-side sessions with the same resource. We also call `_proto._doDisconnect` so that connection event handlers for the old transport are removed.
-
JC Brand authored
- Don't ever resume SMACKS stream when using BOSH - Clear SMACKS session data when using BOSH
-
JC Brand authored
-
- 13 Jun, 2019 5 commits
-
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
https://xmpp.org/extensions/xep-0198.html#resumption The <resume/> element MUST include a 'previd' attribute whose value is the SM-ID of the former stream and MUST include an 'h' attribute that identifies the sequence number of the last handled stanza sent over the former stream from the server to the client.
-
JC Brand authored
- Set roster_fetched flag when we get an empty IQ[type="result"] stanza - Set `restored` flag when resuming in converse-smacks - Don't trigger change event when fetching xmppstatus values - Removed two events, since we can just listen to `change` on `_converse.xmppstatus`.
-
- 12 Jun, 2019 6 commits