Add titlebar encryption text to plugins api

This commit is contained in:
James Booth
2017-01-19 22:33:29 +00:00
parent 68496db0b4
commit 1b25aa84cb
14 changed files with 219 additions and 14 deletions

View File

@@ -146,6 +146,7 @@ win_create_chat(const char *const barejid)
new_win->history_shown = FALSE;
new_win->unread = 0;
new_win->state = chat_state_new();
new_win->enctext = NULL;
new_win->memcheck = PROFCHATWIN_MEMCHECK;
@@ -430,6 +431,7 @@ win_free(ProfWin* window)
ProfChatWin *chatwin = (ProfChatWin*)window;
free(chatwin->barejid);
free(chatwin->resource_override);
free(chatwin->enctext);
chat_state_free(chatwin->state);
break;
}