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

View file

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