00:00:01
dezant
has left
00:01:37
Kev
has left
00:01:40
Kev
has joined
00:02:58
dezant
has joined
00:09:37
qrpnxz
has left
00:09:38
qrpnxz
has joined
00:09:42
junaid
has joined
00:10:07
qrpnxz
has left
00:10:16
qrpnxz
has joined
00:13:36
qrpnxz
has left
00:13:36
qrpnxz
has joined
00:14:08
qrpnxz
has left
00:14:16
qrpnxz
has joined
00:20:14
emus
has left
00:20:43
Kev
has left
00:22:45
Kev
has joined
00:28:38
qrpnxz
has left
00:28:39
qrpnxz
has joined
00:31:02
Kev
has left
00:32:28
qrpnxz
has left
00:32:29
qrpnxz
has joined
00:32:53
qrpnxz
has left
00:32:59
qrpnxz
has joined
00:34:59
Kev
has joined
00:53:56
Kev
has left
00:55:55
Kev
has joined
01:02:53
dezant
has left
01:02:58
dezant
has joined
01:10:28
Kev
has left
01:12:32
Kev
has joined
01:17:58
Kev
has left
01:19:50
debacle
has left
01:20:00
Kev
has joined
01:25:54
Kev
has left
01:26:54
Kev
has joined
01:36:23
Kev
has left
01:38:25
Kev
has joined
01:41:56
sonny
has left
01:41:59
sonny
has joined
01:42:28
sonny
has left
01:42:35
Kev
has left
01:42:40
sonny
has joined
01:46:37
Kev
has joined
02:03:23
Kev
has left
02:05:18
Kev
has joined
02:07:50
Kev
has left
02:14:39
Kev
has joined
02:43:38
raghavgururajan
has joined
02:44:19
hiran
has left
02:44:58
raghavgururajan
has left
02:46:46
marc0s
has left
02:46:47
marc0s
has joined
02:48:17
Pete
has left
03:00:04
Pete
has joined
03:09:57
dezant
has left
03:26:36
Yagizа
has joined
03:33:23
dezant
has joined
03:48:51
antranigv
has left
03:48:53
antranigv
has joined
03:51:05
junaid
has left
03:54:57
Kev
has left
03:56:46
Kev
has joined
04:03:04
junaid
has joined
04:04:16
antranigv
has left
04:26:15
Kev
has left
04:26:41
dezant
has left
04:28:02
Kev
has joined
04:28:32
antranigv
has joined
04:44:27
phikoen
has left
04:45:03
phikoen
has joined
04:46:15
atomicwatch
has joined
04:46:52
antranigv
has left
04:54:27
sonny
has left
04:54:31
sonny
has joined
05:06:08
antranigv
has joined
05:09:27
Kev
has left
05:10:38
Kev
has joined
05:26:03
Apollo
has left
05:26:04
Apollo
has joined
05:35:25
goffi
has joined
05:38:51
me9
has joined
05:39:18
dezant
has joined
05:50:22
moparisthebest
has left
05:55:12
pasdesushi
has joined
05:56:57
atomicwatch
has left
06:02:46
jubalh
has left
06:05:59
moparisthebest
has joined
06:09:16
raghavgururajan
has joined
06:10:25
raghavgururajan
has left
06:13:13
antranigv
has left
06:18:16
goffi
has left
06:19:37
goffi
has joined
06:22:08
dezant
has left
06:26:27
wurstsalat
has joined
06:30:35
me9
has left
06:32:49
msavoritias
has joined
06:40:59
jgart
has left
06:48:08
jubalh
has joined
06:53:23
emus
has joined
07:01:07
Syndace
has left
07:01:09
Syndace
has joined
07:03:34
lovetox
has left
07:08:53
mac
has joined
07:14:00
qrpnxz
has left
07:14:00
qrpnxz
has joined
07:15:04
atomicwatch
has joined
07:17:53
lovetox
has joined
07:22:21
antranigv
has joined
07:24:09
Kev
has left
07:24:17
goffi
has left
07:24:20
goffi
has joined
07:25:58
Kev
has joined
07:26:01
Trbl
has joined
07:27:24
goffi
has left
07:27:28
jubalh
has left
07:27:28
goffi
has joined
07:27:39
jgart
has joined
07:32:51
pulkomandy
has left
07:32:53
pulkomandy
has joined
07:37:12
SouL
has left
07:45:49
pulkomandy
has left
07:48:28
sonny
has left
07:48:32
sonny
has joined
07:53:04
sonny
has left
07:53:20
sonny
has joined
07:56:08
sonny
has left
07:56:13
sonny
has joined
08:07:53
sonny
has left
08:08:05
sonny
has joined
08:08:34
antranigv
has left
08:08:36
antranigv
has joined
08:08:47
sonny
has left
08:08:53
sonny
has joined
08:11:05
sonny
has left
08:11:22
sonny
has joined
08:19:18
antranigv
has left
08:20:41
qrpnxz
has left
08:20:42
qrpnxz
has joined
08:21:30
Martin
has left
08:22:05
Martin
has joined
08:22:41
qrpnxz
has left
08:22:42
qrpnxz
has joined
08:23:12
qrpnxz
has left
08:23:12
qrpnxz
has joined
08:24:02
qrpnxz
has left
08:24:02
qrpnxz
has joined
08:25:21
qrpnxz
has left
08:25:21
qrpnxz
has joined
08:26:29
qrpnxz
has left
08:26:30
qrpnxz
has joined
08:26:49
qrpnxz
has left
08:26:50
qrpnxz
has joined
08:27:09
qrpnxz
has left
08:27:09
qrpnxz
has joined
08:27:51
qrpnxz
has left
08:27:52
qrpnxz
has joined
08:28:15
qrpnxz
has left
08:28:16
qrpnxz
has joined
08:28:47
qrpnxz
has left
08:28:47
qrpnxz
has joined
08:34:36
goffi
has left
08:34:51
goffi
has joined
08:35:42
SouL
has joined
08:36:21
qrpnxz
has left
08:36:21
mac
has left
08:36:21
qrpnxz
has joined
08:40:07
qrpnxz
has left
08:40:07
qrpnxz
has joined
08:40:38
qrpnxz
has left
08:40:38
qrpnxz
has joined
08:41:10
Kev
has left
08:41:14
Kev
has joined
08:43:08
antranigv
has joined
08:49:21
qrpnxz
has left
08:49:42
qrpnxz
has joined
08:52:14
antranigv
has left
08:52:16
antranigv
has joined
08:54:37
debacle
has joined
09:03:15
goffi
has left
09:10:03
jgart
has left
09:13:34
jgart
has joined
09:17:55
sonny
has left
09:18:00
sonny
has joined
09:18:38
mac
has joined
09:21:30
huhn
has joined
09:23:27
jgart
has left
09:25:28
antranigv
has left
09:25:28
antranigv
has joined
09:27:01
larma
has left
09:27:33
jgart
has joined
09:28:42
debacle
has left
09:31:23
jgart
has left
09:33:51
larma
has joined
09:40:18
hiran
has joined
09:43:16
hiran
Hi again.
This java/smack XMPP client I am building shall make use of a MUC and users connect using nicknames. While I have seen this working once upon a time, now it does not and I am confused whether there is something I changed or there was a change on the server (that I do not manage).
So my question is: How should the use of nicknames work in theory? What do I use on one side to set the nickname, how does another client connected to the same MUC receive the new nickname?
09:44:38
Ge0rG
hiran: there are two ways to convey the nickname. The most common one is as the local part of the occupant JID, i.e. jdev@muc.xmpp.org/hiran
09:45:10
Ge0rG
There is also https://xmpp.org/extensions/xep-0172.html which can embed a nickname element into presence and messages
09:46:15
Ge0rG
So by default you set a nickname while joining a room, and then all the other occupants get a presence with it
09:46:51
hiran
Is there a chance to change the nickname while being connected? Is the nickname per MUC or per XMPP connection?
09:47:55
Ge0rG
hiran: the nickname is per room and can be changed
09:48:16
Ge0rG
hiran: https://download.igniterealtime.org/smack/docs/latest/javadoc/org/jivesoftware/smackx/muc/MultiUserChat.html#changeNickname(org.jxmpp.jid.parts.Resourcepart)
09:48:47
hiran
Ok. So what I have is (using the smack client library):
resourcePart = Resourcepart.from(nickname);
muc.changeNickname(resourcePart);
From what you say probably I am creating the resourcePart wrongly
09:50:02
huhn
has left
09:50:03
Ge0rG
hiran: no, that looks good. But you can only change the nickname after you are already joined to the room.
09:50:42
marmistrz
has joined
09:51:08
hiran
Ok, first join the muc, then change the nickname. Hmm, when changing the nickname while I am in the MUC I receive exceptions.
I programmed the client to leave the muc and join in again, then setting a new nickname.
09:51:30
Zash
There's also a way to register the nickname with the room, which is independent from the one that is used. It's then reserved and others may be prevented from using it.
09:51:41
hiran
But ok, now that we looked at the setting of the nickname - how would the other side see the nickname? I this a presence event on the other side?
09:52:12
Ge0rG
hiran: why are you trying to *change* the nickname?
09:52:57
hiran
The XMPP client connects to the XMPP server on one side, then connects to a game on the other side. When the user loads a savegame the nick is changed to whatever character is in there.
09:53:10
hiran
Does that make sense?
09:53:53
Ge0rG
hiran: a little bit. You need to have a nickname already when joining.
09:54:05
Ge0rG
also which part is the MUC? Game server?
09:54:32
hiran
The MUC shall connect the users to each othere. Currently it is a peer to peer system - no dedicated server
09:54:45
kikuchiyo
has left
09:54:52
kikuchiyo
has joined
09:55:02
Ge0rG
hiran: also nicknames must be unique in a room.
09:55:27
hiran
That is not so much a problem. If the nick is not unique I get an error message, and users can rename themselves if need be
09:55:50
Zash
> also nicknames must be unique in a room.
per user, or per connected client, depending on the server
09:56:03
huhn
has joined
09:56:31
hiran
Ok. I will check if the nicknames are set properly. How does another client get aware of the changed nick?
09:57:21
Zash
They should get a signal
09:57:36
Ge0rG
hiran: there is a join presence for each change and each new member, see https://download.igniterealtime.org/smack/docs/latest/javadoc/org/jivesoftware/smackx/muc/MultiUserChat.html#addParticipantListener(org.jivesoftware.smack.PresenceListener) and https://download.igniterealtime.org/smack/docs/latest/javadoc/org/jivesoftware/smackx/muc/MultiUserChat.html#addParticipantStatusListener(org.jivesoftware.smackx.muc.ParticipantStatusListener)
09:57:39
hiran
What signal? I guess it should be a presence stanza
09:58:33
hiran
ParticipantListener? That might be something. So far I tried PresenceListener and PresenceEventListeners, but not yet Participants...
09:58:41
Ge0rG
hiran: the ParticipantStatusListener will pre-process the presence for you
09:58:52
Ge0rG
hiran: so you can add your business logic right into it
09:59:00
hiran
Even better
09:59:07
hiran
I will try those listeners :-)
10:05:03
goffi
has joined
10:30:44
pasdesushi
has left
10:30:48
pasdesushi
has joined
10:34:17
Kev
has left
10:34:21
Kev
has joined
10:34:30
Kev
has left
10:34:32
Kev
has joined
10:35:16
Kev
has left
10:35:17
Kev
has joined
10:36:02
Kev
has left
10:36:03
Kev
has joined
10:38:08
goffi
has left
10:44:38
huhn
has left
11:01:24
atomicwatch
has left
11:01:25
atomicwatch
has joined
11:10:23
9lakes
has left
11:10:24
9lakes
has joined
11:13:43
Wojtek
has joined
11:14:50
antranigv
has left
11:14:50
antranigv
has joined
11:15:11
marmistrz
has left
11:16:48
pasdesushi
has left
11:16:51
pasdesushi
has joined
11:17:34
pasdesushi
has left
11:17:34
pasdesushi
has joined
11:18:32
debacle
has joined
11:25:22
antranigv
has left
11:26:35
mac
has left
11:30:11
sander
has left
11:33:18
msavoritias
has left
11:36:07
sander
has joined
11:39:59
goffi
has joined
11:42:46
goffi
has left
11:42:54
goffi
has joined
11:45:13
goffi
has left
11:45:26
goffi
has joined
11:46:03
goffi
has left
11:46:08
goffi
has joined
11:46:52
goffi
has left
11:47:00
goffi
has joined
11:47:29
goffi
has left
11:47:39
goffi
has joined
11:47:48
goffi
has left
11:47:55
goffi
has joined
11:48:21
goffi
has left
11:50:19
goffi
has joined
11:50:19
goffi
has left
11:50:34
goffi
has joined
11:50:39
goffi
has left
11:50:47
goffi
has joined
11:51:08
goffi
has left
11:51:15
goffi
has joined
11:51:49
goffi
has left
11:51:55
goffi
has joined
11:52:56
goffi
has left
11:56:58
msavoritias
has joined
11:58:11
goffi
has joined
11:58:33
goffi
has left
11:58:38
goffi
has joined
11:59:55
goffi
has left
12:00:03
goffi
has joined
12:00:26
goffi
has left
12:00:27
kikuchiyo
has left
12:00:41
goffi
has joined
12:06:16
atomicwatch
has left
12:07:12
kikuchiyo
has joined
12:08:30
jubalh
has joined
12:09:13
atomicwatch
has joined
12:19:43
goffi
has left
12:19:55
inky
has joined
12:21:07
goffi
has joined
12:28:02
goffi
has left
12:28:10
goffi
has joined
12:40:59
goffi
has left
12:41:14
goffi
has joined
12:44:02
bung
has joined
12:54:38
marc0s
has left
12:55:13
marc0s
has joined
13:01:36
PapaTutuWawa
has joined
13:05:38
serge90
has left
13:08:19
serge90
has joined
13:10:45
larma
has left
13:11:55
Trbl
has left
13:12:08
Trbl
has joined
13:25:39
huhn
has joined
13:28:02
Wojtek
has left
13:29:19
Alex
has left
13:31:38
Alex
has joined
13:44:16
goffi
has left
13:44:19
goffi
has joined
13:44:28
huhn
has left
13:47:14
antranigv
has joined
13:55:29
bung
has left
13:56:09
lovetox
has left
13:57:09
bung
has joined
13:58:51
junaid
has left
13:59:36
inky
has left
13:59:43
antranigv
has left
14:00:08
goffi
has left
14:00:12
goffi
has joined
14:00:44
junaid
has joined
14:27:20
PapaTutuWawa
has left
14:27:56
homebeach
has left
14:27:56
Matrix Traveler (bot)
has left
14:27:56
Server Stats Discoverer (traveler bot)
has left
14:28:00
Server Stats Discoverer (traveler bot)
has joined
14:28:00
Matrix Traveler (bot)
has joined
14:28:00
homebeach
has joined
14:30:16
Wojtek
has joined
14:36:15
mac
has joined
14:39:44
junaid
has left
14:39:52
junaid
has joined
14:41:04
junaid
has left
14:42:43
antranigv
has joined
14:45:30
nephele
has joined
14:50:21
Apollo
has left
14:51:51
mac
has left
14:52:20
lovetox
has joined
14:53:03
nephele
has left
14:53:43
antranigv
has left
14:53:49
homebeach
has left
14:53:49
Matrix Traveler (bot)
has left
14:53:49
Server Stats Discoverer (traveler bot)
has left
14:53:50
Server Stats Discoverer (traveler bot)
has joined
14:53:50
Matrix Traveler (bot)
has joined
14:53:50
homebeach
has joined
14:56:13
Maranda
has left
15:00:42
huhn
has joined
15:02:00
Maranda
has joined
15:04:59
Apollo
has joined
15:10:02
sonny
has left
15:10:21
sonny
has joined
15:12:03
Apollo
has left
15:16:26
Apollo
has joined
15:24:22
sonny
has left
15:24:26
sonny
has joined
15:24:43
Apollo
has left
15:24:55
sonny
has left
15:25:04
sonny
has joined
15:27:44
Apollo
has joined
15:29:23
homebeach
has left
15:29:23
Matrix Traveler (bot)
has left
15:29:23
Server Stats Discoverer (traveler bot)
has left
15:29:24
Server Stats Discoverer (traveler bot)
has joined
15:29:24
Matrix Traveler (bot)
has joined
15:29:24
homebeach
has joined
15:34:33
kikuchiyo
has left
15:34:42
kikuchiyo
has joined
15:48:19
dezant
has joined
15:52:52
hiran
has left
15:53:40
jubalh
has left
15:58:56
jubalh
has joined
16:03:36
me9
has joined
16:04:02
rafasaurus
has left
16:05:21
rafasaurus
has joined
16:07:42
kikuchiyo
has left
16:10:30
pulkomandy
has joined
16:10:50
homebeach
has left
16:10:50
Matrix Traveler (bot)
has left
16:10:50
Server Stats Discoverer (traveler bot)
has left
16:10:52
Server Stats Discoverer (traveler bot)
has joined
16:10:52
Matrix Traveler (bot)
has joined
16:10:52
homebeach
has joined
16:17:08
huhn
has left
16:17:45
pulkomandy
has left
16:17:51
pulkomandy
has joined
16:21:27
pulkomandy
has left
16:21:29
pulkomandy
has joined
16:22:54
SouL
has left
16:24:13
jgart
has joined
16:27:07
PapaTutuWawa
has joined
16:29:18
pulkomandy
has left
16:29:28
pulkomandy
has joined
16:32:51
antranigv
has joined
16:42:26
dezant
has left
16:44:14
me9
has left
16:45:08
bung
has left
16:48:09
SouL
has joined
16:49:35
bung
has joined
16:55:21
dezant
has joined
16:57:18
marc0s
has left
16:57:20
marc0s
has joined
16:57:29
thomaslewis
has left
16:58:01
thomaslewis
has joined
17:02:57
antranigv
has left
17:08:49
antranigv
has joined
17:09:55
marc0s
has left
17:09:56
marc0s
has joined
17:22:02
homebeach
has left
17:22:02
Matrix Traveler (bot)
has left
17:22:02
Server Stats Discoverer (traveler bot)
has left
17:22:03
Server Stats Discoverer (traveler bot)
has joined
17:22:03
Matrix Traveler (bot)
has joined
17:22:03
homebeach
has joined
17:22:47
rom1dep
has left
17:22:47
debacle
has left
17:23:43
nephele
has joined
17:25:23
nephele
has left
17:25:32
nephele
has joined
17:26:05
nephele
has left
17:26:19
nephele
has joined
17:32:20
sonny
has left
17:32:25
sonny
has joined
17:40:32
marc0s
has left
17:40:33
marc0s
has joined
17:45:10
Kev
has left
17:45:16
Kev
has joined
17:45:17
atomicwatch
has left
17:47:09
Kev
has left
17:47:11
Kev
has joined
17:48:41
atomicwatch
has joined
17:49:18
Kev
has left
17:49:20
Kev
has joined
17:50:18
rom1dep
has joined
17:51:14
Kev
has left
17:51:15
Kev
has joined
17:53:16
Kev
has left
17:53:18
Kev
has joined
17:58:09
dezant
has left
18:00:29
bung
has left
18:01:32
dezant
has joined
18:08:08
marc0s
has left
18:08:09
marc0s
has joined
18:08:17
kikuchiyo
has joined
18:08:50
bung
has joined
18:08:52
Kev
has left
18:10:36
sonny
has left
18:10:40
sonny
has joined
18:10:52
Kev
has joined
18:17:08
jubalh
has left
18:25:59
marc0s
has left
18:26:01
marc0s
has joined
18:26:35
marc0s
has left
18:26:36
marc0s
has joined
18:27:24
dezant
has left
18:28:09
Kev
has left
18:30:14
Kev
has joined
18:30:20
emus
has left
18:30:21
PapaTutuWawa
has left
18:32:35
Yagizа
has left
18:34:02
sonny
has left
18:34:05
sonny
has joined
18:35:10
jubalh
has joined
18:35:48
me9
has joined
18:36:11
sonny
has left
18:36:21
sonny
has joined
18:41:51
qrpnxz
has left
18:41:51
qrpnxz
has joined
18:42:23
qrpnxz
has left
18:42:27
Kev
has left
18:42:34
qrpnxz
has joined
18:44:37
Kev
has joined
18:46:56
marmistrz
has joined
18:54:07
Kev
has left
18:54:08
Kev
has joined
18:56:07
Martin
has left
18:56:14
me9
has left
18:56:39
me9
has joined
18:56:49
Martin
has joined
18:57:08
marmistrz
has left
19:00:49
Wojtek
has left
19:03:05
nephele
has left
19:03:09
nephele
has joined
19:03:13
nephele
has left
19:03:15
nephele
has joined
19:04:00
bung
has left
19:04:36
bung
has joined
19:09:51
homebeach
has left
19:09:51
Matrix Traveler (bot)
has left
19:09:51
Server Stats Discoverer (traveler bot)
has left
19:09:53
Server Stats Discoverer (traveler bot)
has joined
19:09:53
Matrix Traveler (bot)
has joined
19:09:53
homebeach
has joined
19:17:04
marmistrz
has joined
19:24:43
marmistrz
has left
19:27:29
PapaTutuWawa
has joined
19:33:45
sonny
has left
19:33:50
sonny
has joined
19:34:17
sonny
has left
19:34:32
sonny
has joined
19:37:51
COM8
has joined
19:39:34
COM8
has left
19:41:38
emus
has joined
19:44:27
debacle
has joined
19:53:25
mac
has joined
19:53:49
homebeach
has left
19:53:49
Matrix Traveler (bot)
has left
19:53:49
Server Stats Discoverer (traveler bot)
has left
19:53:50
Server Stats Discoverer (traveler bot)
has joined
19:53:50
Matrix Traveler (bot)
has joined
19:53:50
homebeach
has joined
19:53:57
al
has joined
19:58:20
marc0s
has left
19:58:21
marc0s
has joined
20:07:27
marmistrz
has joined
20:09:28
antranigv
has left
20:09:29
antranigv
has joined
20:09:51
Kev
has left
20:09:57
Kev
has joined
20:17:36
mac
has left
20:17:39
mac
has joined
20:18:22
al
has left
20:18:49
marc0s
has left
20:18:50
marc0s
has joined
20:19:36
Apollo
has left
20:19:38
Apollo
has joined
20:20:38
antranigv
has left
20:25:08
hiran
has joined
20:33:49
Kev
has left
20:35:01
nephele
has left
20:35:15
huhn
has joined
20:35:52
Kev
has joined
20:46:08
Kev
has left
20:47:04
Kev
has joined
20:51:10
Pete
has left
20:54:18
DebXWoody
has left
20:55:10
Pete
has joined
21:04:33
phikoen
has left
21:08:53
huhn
has left
21:18:27
me9
has left
21:19:45
homebeach
has left
21:19:45
Matrix Traveler (bot)
has left
21:19:45
Server Stats Discoverer (traveler bot)
has left
21:19:46
Server Stats Discoverer (traveler bot)
has joined
21:19:46
Matrix Traveler (bot)
has joined
21:19:46
homebeach
has joined
21:23:32
PapaTutuWawa
has left
21:28:43
goffi
has left
21:37:43
goffi
has joined
21:40:28
mac
has left
21:40:39
mac
has joined
21:43:22
Zash
has left
21:43:35
Zash
has joined
21:44:10
Apollo
has left
21:45:20
sonny
has left
21:45:25
sonny
has joined
21:48:12
msavoritias
has left
21:48:19
al
has joined
21:50:00
sonny
has left
21:50:09
sonny
has joined
21:56:00
marmistrz
has left
21:57:32
atomicwatch
has left
22:06:45
antranigv
has joined
22:09:23
drops
has joined
22:11:24
atomicwatch
has joined
22:15:34
mac
has left
22:15:36
mac
has joined
22:18:44
marmistrz
has joined
22:22:37
Kev
has left
22:22:43
Kev
has joined
22:24:47
al
has left
22:25:46
pasdesushi
has left
22:25:51
pasdesushi
has joined
22:27:29
marc0s
has left
22:27:30
marc0s
has joined
22:34:44
Apollo
has joined
22:36:42
Alex
has left
22:41:22
atomicwatch
has left
22:54:29
al
has joined
22:55:30
sonny
has left
22:55:33
sonny
has joined
23:18:38
FireFly
has left
23:18:54
FireFly
has joined
23:26:02
spectrum
has left
23:32:03
FireFly
has left
23:40:38
Sam
has left
23:40:41
Sam
has joined
23:41:00
marmistrz
has left
23:48:57
emus
has left
23:49:33
Kev
has left
23:49:38
Kev
has joined
23:55:41
pasdesushi
has left