mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 15:52:06 +01:00
Fix MultiUserChat.enter() 'nickname' check
It's no longer necessary to check if 'nickname' is set. The MucEnterConfiguration API already enforces that.
This commit is contained in:
parent
46f9b9ab39
commit
ea00caca31
1 changed files with 0 additions and 1 deletions
|
@ -295,7 +295,6 @@ public class MultiUserChat {
|
|||
*/
|
||||
private Presence enter(MucEnterConfiguration conf) throws NotConnectedException, NoResponseException,
|
||||
XMPPErrorException, InterruptedException, NotAMucServiceException {
|
||||
StringUtils.requireNotNullOrEmpty(nickname, "Nickname must not be null or blank.");
|
||||
final DomainBareJid mucService = room.asDomainBareJid();
|
||||
if (!KNOWN_MUC_SERVICES.containsKey(mucService)) {
|
||||
if (multiUserChatManager.providesMucService(mucService)) {
|
||||
|
|
Loading…
Reference in a new issue