| 2433 | | else |
| 2434 | | { |
| 2435 | | emit autoCloseNotify(); |
| 2436 | | if (sendDone(e)) |
| 2437 | | { |
| 2438 | | emit mainwin->signal_sentevent(e); |
| 2439 | | if (mainwin->m_bMsgChatView && mleHistory != NULL) |
| 2440 | | { |
| 2441 | | mleHistory->GotoEnd(); |
| 2442 | | resetSettings(); |
| 2443 | | } |
| 2444 | | else |
| 2445 | | close(); |
| 2446 | | } |
| | 2433 | |
| | 2434 | emit autoCloseNotify(); |
| | 2435 | if (sendDone(e)) |
| | 2436 | { |
| | 2437 | emit mainwin->signal_sentevent(e); |
| | 2438 | if (mainwin->m_bMsgChatView && mleHistory != NULL) |
| | 2439 | { |
| | 2440 | mleHistory->GotoEnd(); |
| | 2441 | resetSettings(); |
| | 2442 | |
| | 2443 | // After sending URI/File/Contact/ChatRequest switch back to text message |
| | 2444 | if (!isType(UC_MESSAGE)) |
| | 2445 | changeEventType(UC_MESSAGE); |
| | 2446 | } |
| | 2447 | else |
| | 2448 | close(); |