mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
Fix SSK message sending
This commit is contained in:
parent
d8986f6147
commit
c9c902218e
@ -373,7 +373,7 @@ object ClosedGroupsProtocol {
|
|||||||
if (GroupUtil.isOpenGroup(groupID)) {
|
if (GroupUtil.isOpenGroup(groupID)) {
|
||||||
return listOf( Address.fromSerialized(groupID) )
|
return listOf( Address.fromSerialized(groupID) )
|
||||||
} else {
|
} else {
|
||||||
val groupPublicKey = GroupUtil.getDecodedId(groupID).toHexString()
|
val groupPublicKey = GroupUtil.getDecodedId(GroupUtil.getDecodedStringId(groupID)).toHexString()
|
||||||
if (DatabaseFactory.getSSKDatabase(context).isSSKBasedClosedGroup(groupPublicKey)) {
|
if (DatabaseFactory.getSSKDatabase(context).isSSKBasedClosedGroup(groupPublicKey)) {
|
||||||
return listOf( Address.fromSerialized(groupPublicKey) )
|
return listOf( Address.fromSerialized(groupPublicKey) )
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user