mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Fixed cmd_execute_default (resource instead of barejid)
This commit is contained in:
parent
254179e128
commit
1c35321cb3
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user