# HG changeset patch # User Nikita Kozlov # Date 1327336522 -3600 # Node ID 59d7b3e9580f076d51a9e5ccbfcc21d2b2978ee8 # Parent 0867bf998775079e50019dad1b31ff0b61d75160 Bug #386: fix it ! diff -r 0867bf998775 -r 59d7b3e9580f src/com/beem/project/beem/ui/Chat.java --- a/src/com/beem/project/beem/ui/Chat.java Mon Jan 23 17:34:56 2012 +0100 +++ b/src/com/beem/project/beem/ui/Chat.java Mon Jan 23 17:35:22 2012 +0100 @@ -664,7 +664,8 @@ } else { text = Chat.this.getString(R.string.chat_otrstate_plaintext); } - mContactOtrState.setText(text); + if (mContactOtrState != null) + mContactOtrState.setText(text); } /**