mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-25 14:45:22 +00:00
Handle only packets addressed to me (#184)
* skip private packets not to us * logs
This commit is contained in:
@@ -70,7 +70,7 @@ class PacketRelayManager(private val myPeerID: String) {
|
||||
/**
|
||||
* Check if a packet is specifically addressed to us
|
||||
*/
|
||||
private fun isPacketAddressedToMe(packet: BitchatPacket): Boolean {
|
||||
internal fun isPacketAddressedToMe(packet: BitchatPacket): Boolean {
|
||||
val recipientID = packet.recipientID
|
||||
|
||||
// No recipient means broadcast (not addressed to us specifically)
|
||||
|
||||
Reference in New Issue
Block a user