The user principal identity is now used as the JID in all XMPP protocol stanzas.
[citadel.git] / citadel / modules / instmsg / serv_instmsg.c
index dfa16cc689eb75ca34c3b51a2b2815b9cc433b40..fad00f0ef6c28492d5156b962f20492518477c13 100644 (file)
@@ -294,7 +294,7 @@ void cmd_sexp(char *argbuf)
                return;
        }
 
-       lem = CC->cs_inet_email;
+       lem = CC->cs_principal_id;
 
        extract_token(x_user, argbuf, 0, '|', sizeof x_user);
        extract_token(x_msg, argbuf, 1, '|', sizeof x_msg);