Fix following comment and recommandations:
- Use DateTime? type instead of int64?
- check the computed delay value against sane values
- use a HashMap to keep track of timers and cancel them on connection
closed
- add equals and hash funcs to XmppStream to use with the HashMap
- rename the callback to reflect its meaning
- test the TURN server conf before STUN default server
Add a field in `Xmpp.Xep.ExternalServiceDiscovery` to keep track
of the `expires` TURN service value and use it (divided by 2) to
restart periodically the external services discovery.
Fixes upstream issue #1350.
Notes:
Image uploads were incorrectly handled by Dino, as they were always
reported as completed even if they were not, maybe so as to show the
image preview from the start. Now, Dino shows the upload progress for
all file types, and the image is only shown when completed.
(cherry picked from commit 700708b7e10ce1110528a2b83b854fae3f6be95e)
* Fixed: server refuses to respond in any way to the sent iq stanza.
* Fix issue #261.
---------
Co-authored-by: Miquel Lionel <lionel@les-miquelots.net>
Co-authored-by: Stanislav Malishevskiy <stanislav.malishevskiy@gmail.com>
- Ensure we fully fetch desired history if possible (previously, duplicates
from offline message queue could hinder MAM sync)
- Early drop illegal MAM messages so they don't pile up in the pending queue
waiting for their query to end (which it never will if they were not
requested in first place).
Fixes#1386
- If peer invited us claiming audio-only and then wants to have a video content, do a content-modify and accept audio-only
- Check contents for video (and modify) and whether call is truly accepted in PeerState.accept() directly
- If a message contains both JMI and CIM, only use JMI
- Fix outgoing CIM (disabled)
- Use opacity instead of visiblity for file_menu, small fixes
- Add back owner/admin/member queries when joining MUC (regression from 33104a7)
- Use groupchat message type for invites in MUCs
- Use call id (from propose) instead of message id for Call Invite Messages
- Fix call window controlls appearing when hovering controls