mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 16:16:21 +00:00
Fixed #174
This commit is contained in:
@@ -1974,6 +1974,9 @@ _cmd_msg(gchar **args, struct cmd_help_t help)
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
char *usr_jid = roster_barejid_from_name(usr);
|
char *usr_jid = roster_barejid_from_name(usr);
|
||||||
|
if (usr_jid == NULL) {
|
||||||
|
usr_jid = usr;
|
||||||
|
}
|
||||||
if (msg != NULL) {
|
if (msg != NULL) {
|
||||||
message_send(msg, usr_jid);
|
message_send(msg, usr_jid);
|
||||||
ui_outgoing_msg("me", usr_jid, msg);
|
ui_outgoing_msg("me", usr_jid, msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user