Close compose screen after sending message

This commit is contained in:
Moez Bhatti
2016-05-04 22:20:21 -04:00
parent 5b8e205ea1
commit fb2f57fb6d
@@ -59,6 +59,7 @@ public class ComposeFragment extends QKFragment implements ActivityLauncher, Rec
public void onSend(String[] recipients, String body) {
long threadId = Utils.getOrCreateThreadId(mContext, recipients[0]);
if (threadId != 0) {
mContext.finish();
MessageListActivity.launch(mContext, threadId, -1, null, true);
} else {
mContext.onBackPressed();