1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Fixed parameter order for /tiny in private and group chat

fixes #502
This commit is contained in:
James Booth 2015-02-10 21:26:59 +00:00
parent 6ab937c3e3
commit 1e2ef97334

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 {