1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-25 03:57:58 +01:00

[muc] Fix GroupChatInviation's constructor

Fixes: 5e1cd62021 ("[muc] Null-check GroupChatInviation's 'roomAddress' argument")
This commit is contained in:
Florian Schmaus 2022-08-07 17:03:05 +02:00
parent e87da18495
commit 9eee3b8d76

View file

@ -79,7 +79,7 @@ public class GroupChatInvitation implements ExtensionElement {
* @param roomAddress the address of the group chat room. * @param roomAddress the address of the group chat room.
*/ */
public GroupChatInvitation(EntityBareJid roomAddress) { public GroupChatInvitation(EntityBareJid roomAddress) {
this.roomAddress = Objects.requireNonNull(null); this.roomAddress = Objects.requireNonNull(roomAddress);
} }
/** /**