1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Fixed non OTR compilation

This commit is contained in:
James Booth 2014-12-25 01:18:45 +00:00
parent 25a60c9997
commit 676ed1cbae
2 changed files with 2 additions and 2 deletions

View File

@ -1839,7 +1839,7 @@ cmd_execute_default(const char * inp)
ui_outgoing_chat_msg("me", chatwin->barejid, inp);
}
#else
message_send(inp, send_recipient->str);
message_send_chat(send_recipient->str, inp);
if (prefs_get_boolean(PREF_CHLOG)) {
const char *jid = jabber_get_fulljid();
Jid *jidp = jid_create(jid);

View File

@ -3006,7 +3006,7 @@ cmd_tiny(gchar **args, struct cmd_help_t help)
ui_outgoing_chat_msg("me", chatwin->barejid, tiny);
}
#else
message_send(tiny, send_recipient->str);
message_send_chat(send_recipient->str, tiny);
if (prefs_get_boolean(PREF_CHLOG)) {
const char *jid = jabber_get_fulljid();
Jid *jidp = jid_create(jid);