Sign empty status

This commit is contained in:
fiaxh 2015-11-09 01:07:30 +00:00
parent fac1d4e0bd
commit c7a519498a
2 changed files with 1 additions and 3 deletions

View File

@ -56,7 +56,6 @@ public class PresenceGenerator extends AbstractGenerator {
packet.setFrom(account.getJid());
String sig = account.getPgpSignature();
if (sig != null) {
packet.addChild("status").setContent("online");
packet.addChild("x", "jabber:x:signed").setContent(sig);
}
String capHash = getCapHash();

View File

@ -476,8 +476,7 @@ public abstract class XmppActivity extends Activity {
if (account.getPgpId() == -1) {
choosePgpSignId(account);
} else {
xmppConnectionService.getPgpEngine().generateSignature(account,
"online", new UiCallback<Account>() {
xmppConnectionService.getPgpEngine().generateSignature(account, "", new UiCallback<Account>() {
@Override
public void userInputRequried(PendingIntent pi,