Commit f055558b authored by Grigory Fedorov's avatar Grigory Fedorov

Fix for #445 ChatViewer.onNewIntent: NullPointerException

parent 58cf14de
......@@ -252,7 +252,7 @@ public class ChatViewer extends ManagedActivity implements OnChatChangedListener
getSelectedPageDataFromIntent();
if (intent.getAction().equals(ACTION_SHORTCUT)) {
if (intent.getAction() != null && intent.getAction().equals(ACTION_SHORTCUT)) {
getInitialChatFromIntent();
initChats();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment