mirror of
https://github.com/moparisthebest/Conversations
synced 2025-02-07 10:20:12 -05:00
limited offline support for pgp group chats
use pgp key from contact if not set in muc fixes #283
This commit is contained in:
parent
848c339c8d
commit
2cfa3ce288
@ -242,7 +242,13 @@ public class MucOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public long getPgpKeyId() {
|
public long getPgpKeyId() {
|
||||||
return this.pgpKeyId;
|
if (this.pgpKeyId != 0) {
|
||||||
|
return this.pgpKeyId;
|
||||||
|
} else if (realJid != null) {
|
||||||
|
return getAccount().getRoster().getContact(realJid).getPgpKeyId();
|
||||||
|
} else {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Contact getContact() {
|
public Contact getContact() {
|
||||||
|
Loading…
Reference in New Issue
Block a user