mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
. 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
This commit is contained in:
parent
254c4a450a
commit
f12f1c2a1e
4 changed files with 80 additions and 35 deletions
|
@ -681,8 +681,8 @@ public class MultiUserChatTest extends SmackTestCase {
|
|||
muc3.join("testbot3");
|
||||
// User3 will lister for user2's "kicking"
|
||||
muc3.addParticipantStatusListener(new DefaultParticipantStatusListener() {
|
||||
public void kicked(String participant) {
|
||||
super.kicked(participant);
|
||||
public void kicked(String participant, String actor, String reason) {
|
||||
super.kicked(participant, actor, reason);
|
||||
answer[2] = participant;
|
||||
}
|
||||
});
|
||||
|
@ -758,8 +758,8 @@ public class MultiUserChatTest extends SmackTestCase {
|
|||
muc3.join("testbot3");
|
||||
// User3 will lister for user2's "banning"
|
||||
muc3.addParticipantStatusListener(new DefaultParticipantStatusListener() {
|
||||
public void banned(String participant) {
|
||||
super.banned(participant);
|
||||
public void banned(String participant, String actor, String reason) {
|
||||
super.banned(participant, actor, reason);
|
||||
answer[2] = participant;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue