1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Merge branch 'master' into readline

This commit is contained in:
James Booth 2015-02-10 21:32:44 +00:00
commit 831be52366

View File

@ -3116,11 +3116,11 @@ cmd_tiny(gchar **args, struct cmd_help_t help)
#endif #endif
} else if (win_type == WIN_PRIVATE) { } else if (win_type == WIN_PRIVATE) {
ProfPrivateWin *privatewin = wins_get_current_private(); ProfPrivateWin *privatewin = wins_get_current_private();
message_send_private(tiny, privatewin->fulljid); message_send_private(privatewin->fulljid, tiny);
ui_outgoing_private_msg("me", privatewin->fulljid, tiny); ui_outgoing_private_msg("me", privatewin->fulljid, tiny);
} else if (win_type == WIN_MUC) { } else if (win_type == WIN_MUC) {
ProfMucWin *mucwin = wins_get_current_muc(); ProfMucWin *mucwin = wins_get_current_muc();
message_send_groupchat(tiny, mucwin->roomjid); message_send_groupchat(mucwin->roomjid, tiny);
} }
free(tiny); free(tiny);
} else { } else {