aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/parser/IqParser.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* optionally search local muc rooms instead of jabber.networkChristian Schneppe2019-11-031-1/+56
|
* migrate to AndroidXChristian Schneppe2019-09-201-1/+1
|
* implement client support for muc pushChristian Schneppe2019-06-251-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Staying connected to a MUC room hosted on a remote server can be challenging. If a server reboots it will usually send a shut down notification to all participants. However even if a client knows that a server was shut down it doesn’t know when it comes up again. In some corner cases that shut down notification might not even be delivered successfully leaving the client in a state where it thinks it is connected but it really isn’t. The possible work around implemented in this commit is to register the clients full JID (user@domain.tld/Conversations.r4nd) as an App Server according to XEP-0357 with the room. (Conversations checks for the push:0 namespace on the room.) After cycling through a reboot the first message send to a room will trigger pubsub notifications to each registered full JID. This event will be used to trigger a XEP-0410 ping and if necessary a subsequent rejoin of the MUC. If the resource has become unavailable during down time of the MUC server the user’s server will respond with an IQ error which in turn leads to the MUC server disabling that push target. Leaving a MUC will send a `disable` command. If sending that disable command failed for some reason (network outage) and the client receives a pubsub notification for a room it is no longer joined in it will respond with an item-not-found IQ error which also disables subsequent pushes from the server. Note: We 0410-ping before a join to avoid unnecessary full joins which can be quite costly. Further client side optimizations will also suppress pings when a ping is already in flight to further save traffic.
* deduplicate disco responseChristian Schneppe2018-12-271-2/+2
| | | | fixes #283
* use Tor on http upload is account uses onion domainChristian Schneppe2018-06-171-3/+4
|
* return InvalidJid object instead of null if Jid can not be parsedChristian Schneppe2018-05-021-3/+4
|
* sync roster to disk after roster pushChristian Schneppe2018-04-121-4/+3
|
* migrate to xmpp-addrChristian Schneppe2018-04-021-2/+2
|
* fixed roster items w/o subscription (request) not being shownChristian Schneppe2017-08-011-10/+8
|
* upgrade to signal-protocol-javaChristian Schneppe2017-06-241-4/+4
|
* add the 4 most frequently contacted contacts as app shortcutsChristian Schneppe2017-05-311-0/+1
|
* closing the corresponding conversations after blocking a contactChristian Schneppe2017-03-091-5/+5
|
* rename the Xmlns class to NamespaceChristian Schneppe2017-03-041-7/+7
|
* fixed typoChristian Schneppe2017-01-251-1/+1
|
* fixed some issues around ibbChristian Schneppe2017-01-251-1/+2
|
* mark conversations as read after receiving blocklist push for that conversationChristian Schneppe2016-11-291-0/+9
|
* reformat codeChristian Schneppe2016-11-191-326/+326
|
* be more careful parsing integers in omemoChristian Schneppe2016-10-081-2/+6
|
* handle invalid prekey ids in bundleDaniel Gultsch2016-08-111-3/+5
|
* changed package id inside manifest and projectChristian Schneppe2016-07-291-0/+380