missed show=chat for send button colorization

This commit is contained in:
iNPUTmice 2014-09-11 13:19:46 +02:00
parent fef41ba2a2
commit ff41918cb7
1 changed files with 4 additions and 0 deletions

View File

@ -505,6 +505,10 @@ public class ConversationFragment extends Fragment {
&& c.getAccount().getStatus() == Account.STATUS_ONLINE) {
if (c.getMode() == Conversation.MODE_SINGLE) {
switch (c.getContact().getMostAvailableStatus()) {
case Presences.CHAT:
this.mSendButton
.setImageResource(R.drawable.ic_action_send_now_online);
break;
case Presences.ONLINE:
this.mSendButton
.setImageResource(R.drawable.ic_action_send_now_online);