mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 03:32:15 -05:00
Sign empty status
This commit is contained in:
parent
fac1d4e0bd
commit
c7a519498a
@ -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();
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user