1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Fixed cmd_execute_default (resource instead of barejid)

This commit is contained in:
James Booth 2014-12-29 02:22:01 +00:00
parent 254179e128
commit 1c35321cb3

View File

@ -1804,7 +1804,7 @@ cmd_execute_default(const char * inp)
char *encrypted = otr_encrypt_message(chatwin->barejid, inp);
if (encrypted != NULL) {
gboolean send_state = chat_session_on_message_send(chatwin->barejid);
message_send_chat(chatwin->barejid, chatwin->barejid, encrypted, send_state);
message_send_chat(chatwin->barejid, chatwin->resource, encrypted, send_state);
otr_free_message(encrypted);
if (prefs_get_boolean(PREF_CHLOG)) {
const char *jid = jabber_get_fulljid();