1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-27 06:22:07 +01:00
Commit graph

39 commits

Author SHA1 Message Date
Florian Schmaus
a686b4c092 Update MultiUserChat to use the correct namespace according to the latest version of XEP-0045.
Newer versions for XEP-0045 (MUC) use muc#admin for all onwer related operations.
Fixes SMACK-371. Credits and thanks go to Colby White for reporting this.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13458 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-07 19:08:05 +00:00
Florian Schmaus
e75f45082b SMACK-270 MultiUserChat relied on finalize() being called in order to remove packet listeners and the association with RoomListenerMultiplexor. The PacketListeners are referenced by Connection, which meant that MultiUserChat is always strongly reachable until the connection dies.
This patch introduces an new MultiUserChat.cleanup() method that is called when userHashLeft() is triggered.

Thanks to Stuart Chalmers and scgmile for reporting this.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13418 b35dd754-fafc-0310-a699-88a17e54d16e
2013-01-31 22:30:49 +00:00
rcollier
e08c8afe44 SMACK-363 Applied code cleanup patches for many generics related issues.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13325 b35dd754-fafc-0310-a699-88a17e54d16e
2012-10-26 10:47:55 +00:00
Günther Niess
127319a821 SMACK-279: The XMPPConnection extends the new abstract Connection class
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11613 b35dd754-fafc-0310-a699-88a17e54d16e
2010-02-09 11:55:56 +00:00
Michael Will
37a00e98d1 make finalize method protected
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11025 b35dd754-fafc-0310-a699-88a17e54d16e
2009-06-04 13:09:25 +00:00
Matt Tucker
695d05cc3b Code cleanup on SMACK-199.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7187 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 08:59:33 +00:00
Derek DeMoro
4cfbf00e48 SMACK-199 MultiUserChat invitation listeners are no longer removed on disconnect.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7148 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-15 22:27:56 +00:00
Matt Tucker
98bf0d8cfb Copyright update.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7071 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 00:59:05 +00:00
Alex Wenckus
dd754e5a7f fix for new chat manager
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6271 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-30 19:15:45 +00:00
Gaston Dombiak
a58e1dd0a4 Updated to be able to compile. :(
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6243 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-28 19:26:54 +00:00
Alex Wenckus
1f3ab16aad Small tweaks.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6183 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-20 23:09:11 +00:00
Derek DeMoro
4e0397e80a 1) Added conflict check in ReconnectionManager.
2) Fixed compilation errors due to change in interface name.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6122 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-15 22:29:25 +00:00
Gaston Dombiak
87e6c2aba5 Added support for returning list of identities of a hosted node. SMACK-178
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5720 b35dd754-fafc-0310-a699-88a17e54d16e
2006-10-16 17:56:48 +00:00
Gaston Dombiak
216971659a Renamed ConnectionEstablishedListener to ConnectionCreationListener. SMACK-173
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5388 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 23:05:01 +00:00
Matt Tucker
6be93f4a4e Code cleanup and refactoring.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5383 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 21:51:08 +00:00
Gaston Dombiak
3af86fd462 Added reconnection support. SMACK-172
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5367 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 19:16:40 +00:00
Gaston Dombiak
f57ff10ad9 1. Clean up code
2. Refactoring work
3. Optimization work. SMACK-153
4. Fixed roster test cases. SMACK-154
4. Fixed vCard issue. SMACK-152

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4538 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-18 05:14:33 +00:00
Matt Tucker
bbbfe09c31 Phase 1 of large refactoring. Removing dead code, bug fixes, updates to JDK 1.5.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4511 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-17 08:39:08 +00:00
Gaston Dombiak
c49356052f Added support to return disco#info features of hosted nodes. SMACK-150
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4341 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-10 16:56:14 +00:00
Gaston Dombiak
9fcbd64d28 Added support for adding presence interceptors to new presences sent to the MUC service. SMACK-125
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3495 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-27 21:59:50 +00:00
Gaston Dombiak
f12f1c2a1e . Modified #nicknameChanged to include old and new nicknames. SMACK-55
. Modified banning and kicking to include reason and actor. SMACK-81

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3038 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-08 17:15:18 +00:00
Gaston Dombiak
bcab930f28 Do not fire invitation listeners with messages of type error. SMACK-102
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3015 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-01 18:31:52 +00:00
Gaston Dombiak
07b7900b2e Do not fire invitation rejection listeners with messages of type error. SMACK-101
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3013 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-01 15:57:00 +00:00
Derek DeMoro
db8e2870f2 #getServiceNames will not fail if an items info cannot be discovered.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3012 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-01 15:16:48 +00:00
Gaston Dombiak
74fe845eae Fixed typo.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2909 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-29 15:58:11 +00:00
Gaston Dombiak
59e393e2ef Replaced #getHost with #getServiceName. SMACK-75
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2731 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 02:24:38 +00:00
Gaston Dombiak
69c86bbeec Modified to use new FromMatchesFilter. SMACK-71
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2522 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-10 04:50:50 +00:00
Gaston Dombiak
5a754d1279 Added checking to ensure that the room name does not contain uppercase letters.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2490 b35dd754-fafc-0310-a699-88a17e54d16e
2005-05-06 20:39:43 +00:00
Gaston Dombiak
941b9e752f Remove any pending packet listener from the connection. SMACK-48
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2464 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-07 22:01:18 +00:00
Gaston Dombiak
6af5705ae5 Added support for discovering the rooms hosted by a MUC service. SMACK-13
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2455 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-06 16:36:23 +00:00
Gaston Dombiak
075db51590 Modified to allow sending extensions when inviting a user to a room. SMACK-40
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2444 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-11 17:35:41 +00:00
Gaston Dombiak
1bf4d2fed2 Added support for discovering MUC services. SMACK-39
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2443 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-03 02:08:23 +00:00
Gaston Dombiak
d2187b7374 Added notifications of occupant joining and leaving the room. SMACK-38
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2437 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-26 21:55:41 +00:00
Gaston Dombiak
94db37b89b Added support for room management in batch mode. SMACK-4
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2430 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-15 19:03:37 +00:00
Gaston Dombiak
c5700d2257 Added support for discovering room information. SMACK-11
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2424 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-15 01:40:01 +00:00
Matt Tucker
e382efa52a Updated to Apache 2.0 license.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2407 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-02 23:37:00 +00:00
Gaston Dombiak
c395074c86 Fixes incorrect namespace for granting and revoking admin/owner privileges.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2379 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-12 02:11:52 +00:00
Gaston Dombiak
f7ccbe1421 Makes finalize more secure.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2345 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-16 21:00:07 +00:00
Gaston Dombiak
9cbf692917 1. Moved from org.jivesoftware.smackx to org.jivesoftware.smackx.muc.
2. Made clearer the way to specify the amount of discussion history to receive while joining a room


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2333 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-06 03:05:37 +00:00