diff --git a/bitchat/Nostr/NostrProtocol.swift b/bitchat/Nostr/NostrProtocol.swift index 42a590a0..374feed5 100644 --- a/bitchat/Nostr/NostrProtocol.swift +++ b/bitchat/Nostr/NostrProtocol.swift @@ -129,16 +129,12 @@ struct NostrProtocol { content: String, geohash: String, senderIdentity: NostrIdentity, - nickname: String? = nil, - teleported: Bool = false + nickname: String? = nil ) throws -> NostrEvent { var tags = [["g", geohash]] if let nickname = nickname?.trimmingCharacters(in: .whitespacesAndNewlines), !nickname.isEmpty { tags.append(["n", nickname]) } - if teleported { - tags.append(["t", "teleport"]) - } let event = NostrEvent( pubkey: senderIdentity.publicKeyHex, createdAt: Date(), diff --git a/bitchat/Services/LocationNotesManager.swift b/bitchat/Services/LocationNotesManager.swift index ae4a99bf..222d4249 100644 --- a/bitchat/Services/LocationNotesManager.swift +++ b/bitchat/Services/LocationNotesManager.swift @@ -71,8 +71,7 @@ final class LocationNotesManager: ObservableObject { content: trimmed, geohash: geohash, senderIdentity: id, - nickname: nickname, - teleported: LocationChannelManager.shared.teleported + nickname: nickname ) let relays = GeoRelayDirectory.shared.closestRelays(toGeohash: geohash, count: TransportConfig.nostrGeoRelayCount) NostrRelayManager.shared.sendEvent(event, to: relays)