aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/entities/MucOptions.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-26update ui after bookmark changeChristian Schneppe1-2/+3
2019-09-20migrate to AndroidXChristian Schneppe1-2/+2
2019-08-31do not put default nick into bookmark if none has been set beforeChristian Schneppe1-6/+10
2019-06-25implement client support for muc pushChristian Schneppe1-0/+5
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.
2019-02-08hide lock icon in channels; modify muc user contextChristian Schneppe1-1/+1
2019-02-07show different room settings for channels and groupsChristian Schneppe1-4/+12
2019-01-27refactored group chat members into seperate screenChristian Schneppe1-3/+28
2019-01-25normalize nicks before getting them from bookmarks or pepChristian Schneppe1-8/+21
2018-12-27deduplicate disco responseChristian Schneppe1-2/+2
fixes #283
2018-12-14show warning snackbar before joining anon-non-private roomChristian Schneppe1-1/+2
2018-12-04some code reorder for actionbar titlesChristian Schneppe1-9/+0
2018-12-04remove role=none participant when first online participant joinsChristian Schneppe1-1/+1
in anticipations for muc services using registered nicks (and putting nicks into the member list even if that user is offline) we need to remove that 'fake' user from the online list when the real user comes online.
2018-11-23do not add self as crytpo target in MUCChristian Schneppe1-1/+1
2018-11-23fixed race condition that prevented bookmark nick to be usedChristian Schneppe1-5/+17
2018-11-23added interface to edit nickChristian Schneppe1-1/+7
2018-11-23use inContactList() instead inRoster() in the proper placesChristian Schneppe1-1/+1
2018-10-20show snackbar for remote server timeout in mucsChristian Schneppe1-0/+1
2018-09-27store avatars received over muc presence in contactChristian Schneppe1-317/+307
2018-09-12code cleanup for group chat user context menuChristian Schneppe1-1/+0
2018-09-12start new conversations by long press on avatarChristian Schneppe1-0/+10
2018-07-15display propper toast after room has been destroyedChristian Schneppe1-0/+1
2018-07-09store own affiliation and role to diskChristian Schneppe1-62/+47
2018-07-09support mam:1Christian Schneppe1-7/+7
2018-07-09show snackbar for resource constraint in mucsChristian Schneppe1-0/+1
2018-07-09fixed MucOptions.getName()Christian Schneppe1-5/+3
2018-06-29do not include white listed domains in room listChristian Schneppe1-12/+12
2018-06-29fixed some extended muc info handling. match what ejabberd doesChristian Schneppe1-6/+19
2018-06-29use room name (if available and != localpart) as group nameChristian Schneppe1-27/+31
2018-06-29WIP: set room avatar and slight redesign of group detailsChristian Schneppe1-1/+14
*show jid in group details (in advanced mode)
2018-04-27display avatar in groupsChristian Schneppe1-0/+4
2018-04-13persist some muc configurationsChristian Schneppe1-11/+18
2018-04-02migrate to xmpp-addrChristian Schneppe1-13/+12
2018-02-10do not cross reference bookmarks and conversationsChristian Schneppe1-1/+1
2018-01-27make chat markers opportunistic in private mucsChristian Schneppe1-0/+4
2018-01-21show warning toast if PM is disabled in MUCChristian Schneppe1-0/+5
2018-01-17fix wrong avatar shown when true jid doesn't match in mucChristian Schneppe1-1/+1
2017-12-27clear muc avatar after going onlineChristian Schneppe1-1/+3
2017-12-27save muc subject to disk and use crypto targets for offline name generationChristian Schneppe1-6/+28
2017-12-16try to detect invalid nick (w/ emoji) in MUCsChristian Schneppe1-0/+1
2017-11-28some bug fixesChristian Schneppe1-1/+4
2017-11-22send and show read markers in private, non-anonymous groupsChristian Schneppe1-11/+23
2017-10-29black list certain local parts and show domain insteadChristian Schneppe1-11/+2
2017-09-04don’t use xmpp or jabber as default muc nickChristian Schneppe1-1/+11
2017-09-04fixed conference naming for joined people not in your contact listChristian Schneppe1-2/+8
2017-08-01fetch device ids for muc members w/o known devicesChristian Schneppe1-2/+8
2017-04-26limited offline support for pgp group chatsChristian Schneppe1-1/+7
use pgp key from contact if not set in muc
2017-03-11display chat states in conferencesChristian Schneppe1-1/+14
2017-03-11send and parse Chat States to and from conferencesChristian Schneppe1-0/+35
2017-03-09cleaned code of muc name generatorChristian Schneppe1-10/+6
2017-03-09fixed multi-session-nick renaming behaviourChristian Schneppe1-2/+3