Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/jabglue.c @ 1343:8a05feb23c5a
Only use OTR encryption on other users
author | franky@veqlargh.fs |
---|---|
date | Tue, 06 Nov 2007 17:12:04 +0100 |
parents | 06441b6cc23a |
children | 44ff580ee388 |
comparison
equal
deleted
inserted
replaced
1342:06441b6cc23a | 1343:8a05feb23c5a |
---|---|
604 rname++; | 604 rname++; |
605 | 605 |
606 #ifdef HAVE_LIBOTR | 606 #ifdef HAVE_LIBOTR |
607 if (msgid && strcmp(msgid, "otrinject") == 0) | 607 if (msgid && strcmp(msgid, "otrinject") == 0) |
608 msgid = NULL; | 608 msgid = NULL; |
609 else { | 609 else if (type == ROSTER_TYPE_USER) { |
610 otr_msg = otr_send((char **)&text, barejid); | 610 otr_msg = otr_send((char **)&text, barejid); |
611 if (!text) { | 611 if (!text) { |
612 g_free(barejid); | 612 g_free(barejid); |
613 if (encrypted) | 613 if (encrypted) |
614 *encrypted = -1; | 614 *encrypted = -1; |