Use selected resource for sending messages

This commit is contained in:
James Booth
2014-12-03 23:36:39 +00:00
parent d652c3c7ac
commit eeb6e6b8fc
3 changed files with 44 additions and 8 deletions

View File

@@ -883,6 +883,8 @@ _ui_gone_secure(const char * const recipient, gboolean trusted)
window = wins_new(recipient, WIN_CHAT);
}
FREE_SET_NULL(window->chat_resource);
window->is_otr = TRUE;
window->is_trusted = trusted;
if (trusted) {