mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 11:42: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());
|
packet.setFrom(account.getJid());
|
||||||
String sig = account.getPgpSignature();
|
String sig = account.getPgpSignature();
|
||||||
if (sig != null) {
|
if (sig != null) {
|
||||||
packet.addChild("status").setContent("online");
|
|
||||||
packet.addChild("x", "jabber:x:signed").setContent(sig);
|
packet.addChild("x", "jabber:x:signed").setContent(sig);
|
||||||
}
|
}
|
||||||
String capHash = getCapHash();
|
String capHash = getCapHash();
|
||||||
|
@ -476,8 +476,7 @@ public abstract class XmppActivity extends Activity {
|
|||||||
if (account.getPgpId() == -1) {
|
if (account.getPgpId() == -1) {
|
||||||
choosePgpSignId(account);
|
choosePgpSignId(account);
|
||||||
} else {
|
} else {
|
||||||
xmppConnectionService.getPgpEngine().generateSignature(account,
|
xmppConnectionService.getPgpEngine().generateSignature(account, "", new UiCallback<Account>() {
|
||||||
"online", new UiCallback<Account>() {
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void userInputRequried(PendingIntent pi,
|
public void userInputRequried(PendingIntent pi,
|
||||||
|
Loading…
Reference in New Issue
Block a user