Create chat session when no resource

This commit is contained in:
James Booth
2015-01-05 00:48:30 +00:00
parent 8326c8b3a2
commit c2dccad818
4 changed files with 109 additions and 84 deletions

View File

@@ -1333,6 +1333,7 @@ ui_new_chat_win(const char * const barejid)
// create new window
if (window == NULL) {
window = wins_new_chat(barejid);
chat_session_on_window_open(barejid);
num = wins_get_num(window);