mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-29 17:52:06 +01:00
Remove unnecessary check in ChatStateManager
This commit is contained in:
parent
9d53363413
commit
19a445ea02
1 changed files with 0 additions and 4 deletions
|
@ -136,10 +136,6 @@ public final class ChatStateManager extends Manager {
|
||||||
Chat chat = ChatManager.getInstanceFor(connection()).chatWith(bareFrom);
|
Chat chat = ChatManager.getInstanceFor(connection()).chatWith(bareFrom);
|
||||||
ExtensionElement extension = message.getExtension(NAMESPACE);
|
ExtensionElement extension = message.getExtension(NAMESPACE);
|
||||||
|
|
||||||
if (extension == null) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
ChatState state;
|
ChatState state;
|
||||||
try {
|
try {
|
||||||
state = ChatState.valueOf(extension.getElementName());
|
state = ChatState.valueOf(extension.getElementName());
|
||||||
|
|
Loading…
Reference in a new issue